proper anim for action center stackview

This commit is contained in:
end-4
2025-11-21 22:12:37 +01:00
parent a10b8b50d4
commit 35a1f7906a
5 changed files with 90 additions and 7 deletions
@@ -12,7 +12,7 @@ import qs.modules.waffle.actionCenter.mainPage
WBarAttachedPanelContent {
id: root
contentItem: StackView { // TODO: Make this a WStackView with proper anim
contentItem: WStackView {
id: stackView
anchors.fill: parent
implicitWidth: initItem.implicitWidth
@@ -11,9 +11,7 @@ Singleton {
function push(component) {
if (stackView) {
item = stackView.push(component)
stackView.implicitWidth = item.implicitWidth
stackView.implicitHeight = item.implicitHeight
stackView.push(component)
}
}
@@ -10,7 +10,7 @@ import qs.modules.common.widgets
import qs.modules.waffle.looks
import qs.modules.waffle.actionCenter
Rectangle {
Item {
id: root
implicitWidth: 360
implicitHeight: 352