mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-04 11:37:25 -04:00
Merge pull request #238
17add2dmiddlePanel: fix anchor error (Jaquee)3d16f73tabs: page transition left to right (Jaquee)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user