summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeanchors/data/hvCenter.qml
blob: 7cd4f264f62f8dbb2ad7c11df6666f5faa382101 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt 4.7

Rectangle {
    width: 77; height: 95
    Rectangle {
        objectName: "centered"
        width: 57; height: 57; color: "blue"
        anchors.verticalCenter: parent.verticalCenter
        anchors.horizontalCenter: parent.horizontalCenter
    }
}