diff options
author | Robin Burchell <robin+qt@viroteck.net> | 2013-12-04 22:18:36 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-11 02:31:29 +0100 |
commit | 4b2fae2a900f4e66db36ee9e0ee2615346eeccdc (patch) | |
tree | 177d5dbca669977b5ea10798d35b53041733b749 /tests/auto/quick/qquicklistview/data | |
parent | 059ffd2d37446a095b3b01f615c4aea200cf6ef8 (diff) |
Diffstat (limited to 'tests/auto/quick/qquicklistview/data')
-rw-r--r-- | tests/auto/quick/qquicklistview/data/HighlightResize.qml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicklistview/data/HighlightResize.qml b/tests/auto/quick/qquicklistview/data/HighlightResize.qml new file mode 100644 index 0000000000..2b07b39d20 --- /dev/null +++ b/tests/auto/quick/qquicklistview/data/HighlightResize.qml @@ -0,0 +1,23 @@ +import QtQuick 2.0 + +ListView { + id: view + + width: 400 + height: 400 + model: 5 + + highlight: Rectangle { + color: "skyblue" + } + + delegate: Item { + width: 100 + index * 20 + height: 100 + index * 10 + + Text { + anchors.centerIn: parent + text: model.index + } + } +} |