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

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