aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicklistview/data/header.qml
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den.exter@jollamobile.com>2013-09-23 16:30:40 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-19 01:36:30 +0100
commit854272ecf9f26e77ddd8e3b7015cb8fe278183a5 (patch)
treeb212a3055c38e6c1a8be3c22d82938ea6e23955d /tests/auto/quick/qquicklistview/data/header.qml
parenta34eddbf7a68360ead218b2f5a9215e6b1ae88ec (diff)
Fix positioning of item when first cacheBuffer item is removed.
When items prior to the first visible item are removed from the instantiated items list the first item is moved forward by the size of the item removed so it position remains correct relative to the visible items. But if the removed item is the first instanitated item then it's size shouldn't contribute to the offset as the next instatiated item is already offset by its size. Task-number: QTBUG-33619 Change-Id: I05c33f505e2856afa08cd9cd89d8eae97c20679d Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'tests/auto/quick/qquicklistview/data/header.qml')
-rw-r--r--tests/auto/quick/qquicklistview/data/header.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicklistview/data/header.qml b/tests/auto/quick/qquicklistview/data/header.qml
index 076bf9cb97..1cc4ae09ee 100644
--- a/tests/auto/quick/qquicklistview/data/header.qml
+++ b/tests/auto/quick/qquicklistview/data/header.qml
@@ -26,7 +26,6 @@ Rectangle {
focus: true
width: initialViewWidth
height: initialViewHeight
- cacheBuffer: 0
snapMode: ListView.SnapToItem
model: testModel
delegate: myDelegate