diff --git a/MiddlePanel.qml b/MiddlePanel.qml index c24466f3..3917fdd3 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -272,9 +272,28 @@ Rectangle { anchors.topMargin: 30 Layout.fillWidth: true Layout.fillHeight: true - anchors.top: styledRow.bottom + anchors.top: parent.top anchors.margins: 4 clip: true // otherwise animation will affect left panel + + delegate: StackViewDelegate { + pushTransition: StackViewTransition { + PropertyAnimation { + target: enterItem + property: "x" + from: 0 - target.width + to: 0 + duration: 300 + } + PropertyAnimation { + target: exitItem + property: "x" + from: 0 + to: target.width + duration: 300 + } + } + } } } // border