diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-10-29 03:57:51 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-10-29 03:57:51 (GMT) |
commit | c0a13ae7fd61dcd7a56e068ca6bb7bf44400bbeb (patch) | |
tree | 2b9c6432bf00df15f5ce4556465236a0c5cdad2a /tests/auto/declarative/listview/data | |
parent | 6c548e21f48b07d55187952ff21cbbc23fdd3927 (diff) | |
download | Qt-c0a13ae7fd61dcd7a56e068ca6bb7bf44400bbeb.zip Qt-c0a13ae7fd61dcd7a56e068ca6bb7bf44400bbeb.tar.gz Qt-c0a13ae7fd61dcd7a56e068ca6bb7bf44400bbeb.tar.bz2 |
Avoid unnecessary viewport scrolling when bringing currentItem into view.
Task-number: QT-2399
Diffstat (limited to 'tests/auto/declarative/listview/data')
-rw-r--r-- | tests/auto/declarative/listview/data/listview.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/listview/data/listview.qml b/tests/auto/declarative/listview/data/listview.qml index 5083329..9039b55 100644 --- a/tests/auto/declarative/listview/data/listview.qml +++ b/tests/auto/declarative/listview/data/listview.qml @@ -31,6 +31,7 @@ Rectangle { x: 200 text: wrapper.y } + color: ListView.isCurrentItem ? "lightsteelblue" : "white" } } ] |