summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeanchors/data/loop1.qml
blob: a266612526b1169ad7cefc8bde1030fe1d48ee25 (plain)
1
2
3
4
5
6
7
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" }
}