summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicsanchors/data/loop1.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlgraphicsanchors/data/loop1.qml')
-rw-r--r--tests/auto/declarative/qmlgraphicsanchors/data/loop1.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicsanchors/data/loop1.qml b/tests/auto/declarative/qmlgraphicsanchors/data/loop1.qml
new file mode 100644
index 0000000..a266612
--- /dev/null
+++ b/tests/auto/declarative/qmlgraphicsanchors/data/loop1.qml
@@ -0,0 +1,8 @@
+import Qt 4.6
+
+Rectangle {
+ id: rect
+ width: 120; height: 200; color: "white"
+ Text { id: text1; anchors.right: text2.right; text: "Hello" }
+ Text { id: text2; anchors.right: text1.right; anchors.rightMargin: 10; text: "World" }
+}