diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-10-13 17:41:51 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-17 01:10:40 +0200 |
commit | 9bd6361400a2a4e4045a090de73d70082cc6d1bf (patch) | |
tree | e701a5232315c6be76943c93806c48e0dac49b90 /doc/src/declarative | |
parent | 063c08ab8230249ad01c1698ba243b9bb3b238e5 (diff) |
Cannot flick to the end of a horizontal ListView with LayoutMirroring
Forward port of fix for QTBUG-21756.
minXExtent calculated the offset due to highlight range incorrectly
(reversed) when mirroring enabled. Also us same algorithm for fixup()
in GridView and ListView uses.
For QtQuick 2, this change also reverses the beginning and end highlight
range, as it should be, i.e. the preferredHighlightBegin is from the
right side in RightToLeft mode. Also added snapping tests.
Task-number: QTBUG-21756
Change-Id: Ica0ba4ab5db0ce9c77f2da75e9f8293550bd37d1
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'doc/src/declarative')
-rw-r--r-- | doc/src/declarative/whatsnew.qdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/declarative/whatsnew.qdoc b/doc/src/declarative/whatsnew.qdoc index 84245a565f..4c44166472 100644 --- a/doc/src/declarative/whatsnew.qdoc +++ b/doc/src/declarative/whatsnew.qdoc @@ -117,8 +117,9 @@ Text improvements: PathView now has a \c currentItem property -ListView and GridView now have headerItem and footerItem properties (the instantiated -header and footer items). +ListView and GridView: + - now have headerItem and footerItem properties (the instantiated header and footer items). + - In RightToLeft layout the preferredHighlightBegin/End are now also reversed. ListView section.labelPositioning property added to allow keeping the current section label at the start and/or next section label at the end of the view. |