Fix xOrigin and yOrigin to always be top-left pos
authorBea Lam <bea.lam@nokia.com>
Thu, 10 May 2012 05:15:50 +0000 (15:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 14 May 2012 01:03:36 +0000 (03:03 +0200)
commit73a5e30f44aa2cbb9a181bd9d47ffa9d942f0cfb
tree888b20797c52c4adc59f248d34ecee3fb81afa1c
parentbd5e23a00e97603c1cc73328c508a044f1528802
Fix xOrigin and yOrigin to always be top-left pos

Currently xOrigin is reversed for right-to-left and yOrigin is reversed
for bottom-to-top. This is wrong since xOrigin and yOrigin come from
Flickable so they should keep that meaning, i.e. the top left corner of
where the content begins, in ListView and GridView.

Change-Id: I88c77fadd1cf784f4b4d62677168b84675e921b0
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickitemview.cpp
tests/auto/quick/qquickgridview/data/headerfooter.qml
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquicklistview/data/headerfooter.qml
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp