summaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/bug_1113.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtDeclarative/bug_1113.qml')
-rw-r--r--tests/QtDeclarative/bug_1113.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/QtDeclarative/bug_1113.qml b/tests/QtDeclarative/bug_1113.qml
new file mode 100644
index 0000000..0283006
--- /dev/null
+++ b/tests/QtDeclarative/bug_1113.qml
@@ -0,0 +1,17 @@
+import QtQuick 1.1
+import Test 1.0
+
+ListView {
+ width: 400; height: 240;
+
+ model: TestModel {
+ }
+
+ delegate: Item {
+ height: 32
+ width: parent.width
+ Text {
+ text: model.display
+ }
+ }
+}