mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 21:04:32 +00:00
Merge pull request #238
17add2d
middlePanel: fix anchor error (Jaquee)3d16f73
tabs: page transition left to right (Jaquee)
This commit is contained in:
commit
73ca4da6c9
1 changed files with 20 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue