diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-21 03:17:13 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-21 03:17:13 (GMT) |
commit | 8214235eac6a3ca5dbe18558aea29c613a07b34f (patch) | |
tree | 31ef833ca0277a3b5c01302e0a4a5abda6a15e1c /examples/declarative/animation/easing.qml | |
parent | 5e328ec98175d4b1b5873e415f1cb858675f97a4 (diff) | |
download | Qt-8214235eac6a3ca5dbe18558aea29c613a07b34f.zip Qt-8214235eac6a3ca5dbe18558aea29c613a07b34f.tar.gz Qt-8214235eac6a3ca5dbe18558aea29c613a07b34f.tar.bz2 |
fix easing example
Diffstat (limited to 'examples/declarative/animation/easing.qml')
-rw-r--r-- | examples/declarative/animation/easing.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/animation/easing.qml b/examples/declarative/animation/easing.qml index 100d5d2..9e0a0d6 100644 --- a/examples/declarative/animation/easing.qml +++ b/examples/declarative/animation/easing.qml @@ -56,15 +56,15 @@ Rectangle { height: 42; width: window.width Text { text: type; anchors.centerIn: parent; color: "White" } Rectangle { - id: slot1; color: "#121212"; x: 10; height: 32; width: 32 + id: slot1; color: "#121212"; x: 30; height: 32; width: 32 border.color: "#343434"; border.width: 1; radius: 8; anchors.verticalCenter: parent.verticalCenter } Rectangle { - id: slot2; color: "#121212"; x: window.width - 42; height: 32; width: 32 + id: slot2; color: "#121212"; x: window.width - 62; height: 32; width: 32 border.color: "#343434"; border.width: 1; radius: 8; anchors.verticalCenter: parent.verticalCenter } Rectangle { - id: rect; x: 10; color: "#454545" + id: rect; x: 30; color: "#454545" border.color: "White"; border.width: 2 height: 32; width: 32; radius: 8; anchors.verticalCenter: parent.verticalCenter @@ -75,7 +75,7 @@ Rectangle { states : State { name: "right" - PropertyChanges { target: rect; x: window.width - 42; color: ballColor } + PropertyChanges { target: rect; x: window.width - 62; color: ballColor } } transitions: Transition { |