diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2016-12-04 16:51:42 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2016-12-04 16:51:42 +0100 |
| commit | 3d16f73eda5faf82be797e8d5635affa7bc13d18 (patch) | |
| tree | e9dfe4e5c2f864f29c52bc773dbe9452b3973329 | |
| parent | 26abdee5c47017a80117b1bed5ee36586a240c62 (diff) | |
| download | monzero-gui-3d16f73eda5faf82be797e8d5635affa7bc13d18.tar.gz monzero-gui-3d16f73eda5faf82be797e8d5635affa7bc13d18.tar.xz monzero-gui-3d16f73eda5faf82be797e8d5635affa7bc13d18.zip | |
tabs: page transition left to right
| -rw-r--r-- | MiddlePanel.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index e14255a5..1d257afa 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -265,6 +265,25 @@ Rectangle { anchors.top: styledRow.bottom 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 |
