tst_QSGGridView enforceRange_rightToLeft fails
authorMartin Jones <martin.jones@nokia.com>
Tue, 8 Nov 2011 23:06:39 +0000 (09:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 9 Nov 2011 07:23:57 +0000 (08:23 +0100)
commit15547ac366bdfd6f35779995b5d56df669b5e564
treeebcd79f011e34992eca28f3a387fc9b80119fc2f
parent89eea1765625c59a4362e600e4e0f99f261706bc
tst_QSGGridView enforceRange_rightToLeft fails

Change 9bd6361400a2a4e4045a090de73d70082cc6d1bf corrected the
highlight range for right to left layout, i.e. positioned relative
to the right.  This change fixes the autotest to account for this and
fixes flicking in StrictlyEnforceRange mode with RTL layout.

Task-number: QTBUG-22162
Change-Id: I133b7e647883e51783bcf54111871451a3a7e67f
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/declarative/items/qquickgridview.cpp
tests/auto/declarative/qquickgridview/tst_qquickgridview.cpp