diff --git a/Modules/Bar/Popouts/Content.qml b/Modules/Bar/Popouts/Content.qml index 555b9d9..f0707d3 100644 --- a/Modules/Bar/Popouts/Content.qml +++ b/Modules/Bar/Popouts/Content.qml @@ -96,10 +96,10 @@ Item { readonly property bool shouldBeActive: root.popouts.currentName === name active: false - // anchors.horizontalCenter: parent.horizontalCenter - // anchors.top: parent.top - // anchors.topMargin: 5 - anchors.centerIn: parent + anchors.centerIn: opacity === 1 ? undefined : parent + anchors.horizontalCenter: parent.horizontalCenter + anchors.top: opacity === 1 ? parent.top : undefined + anchors.topMargin: 5 opacity: 0 scale: 0.8 diff --git a/Modules/Bar/Popouts/Wrapper.qml b/Modules/Bar/Popouts/Wrapper.qml index 99f443c..ad1ff84 100644 --- a/Modules/Bar/Popouts/Wrapper.qml +++ b/Modules/Bar/Popouts/Wrapper.qml @@ -54,7 +54,7 @@ Item { Comp { id: content - anchors.centerIn: parent + anchors.fill: parent shouldBeActive: root.hasCurrent sourceComponent: Content {