diff options
Diffstat (limited to 'tests/auto/quick/qquicklistview/data/outsideViewportChangeNotAffectingView.qml')
-rw-r--r-- | tests/auto/quick/qquicklistview/data/outsideViewportChangeNotAffectingView.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/auto/quick/qquicklistview/data/outsideViewportChangeNotAffectingView.qml b/tests/auto/quick/qquicklistview/data/outsideViewportChangeNotAffectingView.qml index 7903c392d1..c57cde5eda 100644 --- a/tests/auto/quick/qquicklistview/data/outsideViewportChangeNotAffectingView.qml +++ b/tests/auto/quick/qquicklistview/data/outsideViewportChangeNotAffectingView.qml @@ -42,13 +42,16 @@ import QtQuick 2.1 import QtTest 1.0 Item { + width: 300 + height: 542 + function resizeThirdItem(size) { resizingListModel.setProperty(3, "size", size) } ListView { - width: 300 - height: 542 + id: list + anchors.fill: parent model: ListModel { id: resizingListModel ListElement { size: 300; } @@ -62,6 +65,9 @@ Item { width: parent.width color: index % 2 == 0 ? "red" : "blue" height: size + Text { anchors.centerIn: parent; text: index } } } + + Text { text: list.contentY; color: "white" } } |