|
|
|
@ -286,9 +286,9 @@ MouseArea{
|
|
|
|
|
|
|
|
|
|
property bool neighbourSeparator: false
|
|
|
|
|
//in case there is a neighbour separator
|
|
|
|
|
property int separatorSpace: (parabolicManager.internalSeparatorPos !== -1
|
|
|
|
|
&& parabolicManager.internalSeparatorPos === index-1)
|
|
|
|
|
|| (neighbourSeparator && !isSeparator) ? (2+root.iconMargin/2) : 0
|
|
|
|
|
property int separatorSpace: ((parabolicManager.internalSeparatorPos !== -1 && parabolicManager.internalSeparatorPos === index-1)
|
|
|
|
|
|| neighbourSeparator) && !isSeparator ?
|
|
|
|
|
(2+root.iconMargin/2) : 0
|
|
|
|
|
|
|
|
|
|
property real nHiddenSize: (nScale > 0) ? (mainItemContainer.spacersMaxSize * nScale) + separatorSpace : separatorSpace
|
|
|
|
|
property real nScale: 0
|
|
|
|
@ -308,6 +308,8 @@ MouseArea{
|
|
|
|
|
onItemIndexChanged: hiddenSpacerLeft.updateNeighbour();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Component.onCompleted: hiddenSpacerLeft.updateNeighbour();
|
|
|
|
|
|
|
|
|
|
Behavior on nScale {
|
|
|
|
|
enabled: !root.globalDirectRender
|
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
@ -342,9 +344,9 @@ MouseArea{
|
|
|
|
|
|
|
|
|
|
property bool neighbourSeparator: false
|
|
|
|
|
//in case there is a neighbour separator
|
|
|
|
|
property int separatorSpace: (parabolicManager.internalSeparatorPos !== -1
|
|
|
|
|
&& parabolicManager.internalSeparatorPos === index+1)
|
|
|
|
|
|| (neighbourSeparator && !isSeparator) ? (2+root.iconMargin/2) : 0
|
|
|
|
|
property int separatorSpace: ((parabolicManager.internalSeparatorPos !== -1 && parabolicManager.internalSeparatorPos === index+1)
|
|
|
|
|
|| neighbourSeparator) && !isSeparator ?
|
|
|
|
|
(2+root.iconMargin/2) : 0
|
|
|
|
|
|
|
|
|
|
property real nHiddenSize: (nScale > 0) ? (mainItemContainer.spacersMaxSize * nScale) + separatorSpace : separatorSpace
|
|
|
|
|
property real nScale: 0
|
|
|
|
@ -365,6 +367,8 @@ MouseArea{
|
|
|
|
|
onItemIndexChanged: hiddenSpacerRight.updateNeighbour();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Component.onCompleted: hiddenSpacerRight.updateNeighbour();
|
|
|
|
|
|
|
|
|
|
Behavior on nScale {
|
|
|
|
|
enabled: !root.globalDirectRender
|
|
|
|
|
NumberAnimation { duration: 3 * mainItemContainer.animationTime }
|
|
|
|
|