diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/layouts/positioners.qml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/examples/declarative/layouts/positioners.qml b/examples/declarative/layouts/positioners.qml index e912632..2583cc5 100644 --- a/examples/declarative/layouts/positioners.qml +++ b/examples/declarative/layouts/positioners.qml @@ -16,12 +16,7 @@ Rectangle { } add: Transition { NumberAnimation { - matchProperties: "y"; from: 500; duration:500; easing: "easeOutQuad" - } - } - remove: Transition { - NumberAnimation { - matchProperties:"y"; to: 500; duration:500; easing: "easeInQuad" + matchProperties: "y"; easing: "easeOutQuad" } } Rectangle { color: "red"; width: 100; height: 50; border.color: "black"; radius: 15 } @@ -45,12 +40,7 @@ Rectangle { } add: Transition { NumberAnimation { - matchProperties: "x"; from: 500; duration:500; easing: "easeOutQuad" - } - } - remove: Transition { - NumberAnimation { - matchProperties: "x"; to: 500; duration:500; easing: "easeInQuad" + matchProperties: "x"; easing: "easeOutQuad" } } Rectangle { color: "red"; width: 50; height: 100; border.color: "black"; radius: 15 } @@ -103,12 +93,6 @@ Rectangle { y: 0 columns: 3 - remove: Transition { - NumberAnimation { - matchProperties: "x,y"; easing: "easeOutBounce" - } - } - move: Transition { NumberAnimation { matchProperties: "x,y"; easing: "easeOutBounce" |