diff options
Diffstat (limited to 'tests/auto/declarative/qquicklistview/data/resizeview.qml')
-rw-r--r-- | tests/auto/declarative/qquicklistview/data/resizeview.qml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/declarative/qquicklistview/data/resizeview.qml b/tests/auto/declarative/qquicklistview/data/resizeview.qml new file mode 100644 index 0000000000..071cdedf2e --- /dev/null +++ b/tests/auto/declarative/qquicklistview/data/resizeview.qml @@ -0,0 +1,22 @@ +import QtQuick 2.0 + +Rectangle { + id: root + + property real initialHeight + + ListView { + id: list + objectName: "list" + width: 240 + height: initialHeight + model: testModel + delegate: Rectangle { + objectName: "wrapper" + width: 240 + height: 20 + border.width: 1 + } + } +} + |