diff options
Diffstat (limited to 'tests/auto/qtquick2/qquickanchors/data/hvCenter.qml')
-rw-r--r-- | tests/auto/qtquick2/qquickanchors/data/hvCenter.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickanchors/data/hvCenter.qml b/tests/auto/qtquick2/qquickanchors/data/hvCenter.qml new file mode 100644 index 0000000000..6763f8eb75 --- /dev/null +++ b/tests/auto/qtquick2/qquickanchors/data/hvCenter.qml @@ -0,0 +1,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 + } +} |