aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickanchors/data/centerinRotation.qml
blob: 933a25c100728c268130b4e6733922f62f1eb8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.0

Rectangle {
    width: 200; height: 200
    Rectangle {
        objectName: "outer"
        rotation: 90
        width: 101; height: 101; color: "blue"
        anchors.centerIn: parent;

        Rectangle {
            objectName: "inner"
            width: 50; height: 50; color: "blue"
            anchors.centerIn: parent;
        }
    }
}