diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-12-09 08:10:54 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-12-09 08:10:54 (GMT) |
commit | 1fa993a90b98f5b92488c1449a4bcbbdf45929eb (patch) | |
tree | a32ea92dceca7082423bb6420ab251002df1e808 /examples | |
parent | d2632f76183fc3c2d05e324575afa2654db03b76 (diff) | |
download | Qt-1fa993a90b98f5b92488c1449a4bcbbdf45929eb.zip Qt-1fa993a90b98f5b92488c1449a4bcbbdf45929eb.tar.gz Qt-1fa993a90b98f5b92488c1449a4bcbbdf45929eb.tar.bz2 |
Update positioners example
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" |