fix popout jitter due to height changes
This commit is contained in:
@@ -96,10 +96,10 @@ Item {
|
|||||||
readonly property bool shouldBeActive: root.popouts.currentName === name
|
readonly property bool shouldBeActive: root.popouts.currentName === name
|
||||||
|
|
||||||
active: false
|
active: false
|
||||||
// anchors.horizontalCenter: parent.horizontalCenter
|
anchors.centerIn: opacity === 1 ? undefined : parent
|
||||||
// anchors.top: parent.top
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
// anchors.topMargin: 5
|
anchors.top: opacity === 1 ? parent.top : undefined
|
||||||
anchors.centerIn: parent
|
anchors.topMargin: 5
|
||||||
opacity: 0
|
opacity: 0
|
||||||
scale: 0.8
|
scale: 0.8
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ Item {
|
|||||||
Comp {
|
Comp {
|
||||||
id: content
|
id: content
|
||||||
|
|
||||||
anchors.centerIn: parent
|
anchors.fill: parent
|
||||||
shouldBeActive: root.hasCurrent
|
shouldBeActive: root.hasCurrent
|
||||||
|
|
||||||
sourceComponent: Content {
|
sourceComponent: Content {
|
||||||
|
|||||||
Reference in New Issue
Block a user