aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-03 16:26:02 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-03 16:26:02 +0200
commit62f016387fdeb508c6ec2a77fa33c59f2fff52db (patch)
treec5ab41b698b3ae0f8cfd9fb26c1e515ad61b2f13 /main.qml
parent9859f33914120259818ea63973efabc7ccd1473e (diff)
parent8dc95a17e6a054793e8b91e73606e56e95120611 (diff)
downloadmonzero-gui-62f016387fdeb508c6ec2a77fa33c59f2fff52db.tar.gz
monzero-gui-62f016387fdeb508c6ec2a77fa33c59f2fff52db.tar.xz
monzero-gui-62f016387fdeb508c6ec2a77fa33c59f2fff52db.zip
Merge pull request #516
8dc95a1 remove animation when swithing to basic layout (Jaquee) d9a2b1a fix broken basic button (Jaquee)
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml36
1 files changed, 12 insertions, 24 deletions
diff --git a/main.qml b/main.qml
index fe1a8036..e082ca2e 100644
--- a/main.qml
+++ b/main.qml
@@ -1046,19 +1046,15 @@ ApplicationWindow {
properties: "visible"
value: false
}
- NumberAnimation {
+ PropertyAction {
target: appWindow
properties: "height"
- to: 30
- easing.type: Easing.InCubic
- duration: 200
+ value: 30
}
- NumberAnimation {
+ PropertyAction {
target: appWindow
properties: "width"
- to: 470
- easing.type: Easing.InCubic
- duration: 200
+ value: 470
}
PropertyAction {
targets: [leftPanel, rightPanel]
@@ -1071,12 +1067,10 @@ ApplicationWindow {
value: true
}
- NumberAnimation {
+ PropertyAction {
target: appWindow
properties: "height"
- to: middlePanel.height
- easing.type: Easing.InCubic
- duration: 200
+ value: middlePanel.height
}
onStopped: {
@@ -1088,12 +1082,10 @@ ApplicationWindow {
SequentialAnimation {
id: goToProAnimation
- NumberAnimation {
+ PropertyAction {
target: appWindow
properties: "height"
- to: 30
- easing.type: Easing.InCubic
- duration: 200
+ value: 30
}
PropertyAction {
target: middlePanel
@@ -1105,19 +1097,15 @@ ApplicationWindow {
properties: "visible"
value: true
}
- NumberAnimation {
+ PropertyAction {
target: appWindow
properties: "width"
- to: rightPanelExpanded ? 1269 : 1269 - 300
- easing.type: Easing.InCubic
- duration: 200
+ value: rightPanelExpanded ? 1269 : 1269 - 300
}
- NumberAnimation {
+ PropertyAction {
target: appWindow
properties: "height"
- to: maxWindowHeight
- easing.type: Easing.InCubic
- duration: 200
+ value: maxWindowHeight
}
PropertyAction {
target: frameArea