summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeanchors/data/loop1.qml
blob: bd7f3de3c37a448fb476ba5a21454842644c5f5e (plain)
1
2
3
4
5
6
7
8
import Qt 4.7

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" }
}