aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickanchors/data/hvCenter.qml
blob: 6763f8eb7509c74d9c441a7a9cd704bf9fc9c070 (plain)
1
2
3
4
5
6
7
8
9
10
11
import QtQuick 2.0

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