aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickgridview/data/resizeview.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickgridview/data/resizeview.qml')
-rw-r--r--tests/auto/quick/qquickgridview/data/resizeview.qml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickgridview/data/resizeview.qml b/tests/auto/quick/qquickgridview/data/resizeview.qml
new file mode 100644
index 0000000000..130a0defc1
--- /dev/null
+++ b/tests/auto/quick/qquickgridview/data/resizeview.qml
@@ -0,0 +1,25 @@
+import QtQuick 2.0
+
+Rectangle {
+ id: root
+
+ width: 240
+ height: 320
+
+ GridView {
+ id: grid
+ objectName: "grid"
+ width: initialWidth
+ height: initialHeight
+ cellWidth: 80
+ cellHeight: 60
+ model: testModel
+ delegate: Rectangle {
+ objectName: "wrapper"
+ width: 80
+ height: 60
+ border.width: 1
+ }
+ }
+}
+