aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/deceptiveLayout.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/deceptiveLayout.qml')
-rw-r--r--tests/auto/qml/qmllint/data/deceptiveLayout.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/deceptiveLayout.qml b/tests/auto/qml/qmllint/data/deceptiveLayout.qml
new file mode 100644
index 0000000000..b5683ba899
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/deceptiveLayout.qml
@@ -0,0 +1,10 @@
+import QtQuick
+import QtQuick.Layouts
+
+GPane {
+ Layout.alignment: Qt.AlignHCenter
+
+ Text {
+ width: parent.width
+ }
+}