tests/auto/declarative/qdeclarativestates/data/reset.qml
changeset 30 5dc02b23752f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/auto/declarative/qdeclarativestates/data/reset.qml	Tue Jul 06 15:10:48 2010 +0300
@@ -0,0 +1,20 @@
+import Qt 4.7
+
+Rectangle {
+    width: 640
+    height: 480
+    Text {
+        id: theText
+        width: 40
+        wrapMode: Text.WordWrap
+        text: "a text string that is longer than 40 pixels"
+    }
+
+    states: State {
+        name: "state1"
+        PropertyChanges {
+            target: theText
+            width: undefined
+        }
+    }
+}