aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickgridview/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickgridview/data')
-rw-r--r--tests/auto/quick/qquickgridview/data/headerfooter.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickgridview/data/headerfooter.qml b/tests/auto/quick/qquickgridview/data/headerfooter.qml
index f0f73a0dac..a1f31ea224 100644
--- a/tests/auto/quick/qquickgridview/data/headerfooter.qml
+++ b/tests/auto/quick/qquickgridview/data/headerfooter.qml
@@ -22,7 +22,11 @@ GridView {
}
cellWidth: 80;
- cellHeight: 80;
+ cellHeight: 60;
- delegate: Text { width: 80; height: 80; text: index + "(" + x + ")" }
+ delegate: Rectangle {
+ width: 80; height: 60
+ border.width: 1
+ Text { text: index + "(" + parent.x + "," + parent.y + ")" }
+ }
}