mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02: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
@ -272,9 +272,28 @@ Rectangle {
|
|||||||
anchors.topMargin: 30
|
anchors.topMargin: 30
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
anchors.top: styledRow.bottom
|
anchors.top: parent.top
|
||||||
anchors.margins: 4
|
anchors.margins: 4
|
||||||
clip: true // otherwise animation will affect left panel
|
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
|
// border
|
||||||
|
Loading…
Reference in New Issue
Block a user