aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/nanchors1.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/nanchors1.qml')
-rw-r--r--tests/auto/qml/qmllint/data/nanchors1.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/nanchors1.qml b/tests/auto/qml/qmllint/data/nanchors1.qml
new file mode 100644
index 0000000000..7331a68614
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/nanchors1.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.15
+
+Rectangle {
+ nanchors {
+ horizontalCenter: parent.horizontalCenter
+ verticalCenter: parent.verticalCenter
+ }
+}