aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml')
-rw-r--r--tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml b/tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml
index c0b71cdb04..2f3de5131c 100644
--- a/tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml
+++ b/tests/auto/declarative/qdeclarativebehaviors/data/groupProperty2.qml
@@ -1,4 +1,4 @@
-import QtQuick 1.0
+import QtQuick 2.0
Rectangle {
width: 400
height: 400
@@ -6,7 +6,7 @@ Rectangle {
id: rect
objectName: "MyRect"
width: 100; height: 100; color: "green"
- Behavior on pos.x { NumberAnimation { duration: 500; } }
+ Behavior on border.width { NumberAnimation { duration: 500; } }
}
MouseArea {
id: clicker
@@ -17,7 +17,7 @@ Rectangle {
when: clicker.pressed
PropertyChanges {
target: rect
- pos.x: 200;
+ border.width: 4;
}
}
}