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

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