aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickgridview/data/unaligned.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick2/qquickgridview/data/unaligned.qml')
-rw-r--r--tests/auto/qtquick2/qquickgridview/data/unaligned.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickgridview/data/unaligned.qml b/tests/auto/qtquick2/qquickgridview/data/unaligned.qml
new file mode 100644
index 0000000000..445400e8b4
--- /dev/null
+++ b/tests/auto/qtquick2/qquickgridview/data/unaligned.qml
@@ -0,0 +1,15 @@
+import QtQuick 2.0
+
+GridView {
+ width: 400
+ height: 200
+ cellWidth: width/9
+ cellHeight: height/2
+
+ model: testModel
+ delegate: Rectangle {
+ objectName: "wrapper"; width: 10; height: 10; color: "green"
+ Text { text: index }
+ }
+}
+