summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/anchors/data/illegal1.qml
blob: 1d231106c22dd7b79013b6069991ddd593e1dfe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt 4.6

Rect {
    id: rect
    width: 120; height: 200; color: "white"
    Rect { id: TheRect; width: 100; height: 100 }
    Rect {
        anchors.left: TheRect.left
        anchors.right: TheRect.right
        anchors.horizontalCenter: TheRect.horizontalCenter
    }
}