• Bea Lam's avatar
    Fix margins for right-to-left mode · 80b56127
    Bea Lam authored
    The behaviour for considering left and right margins was inconsistent
    in views with a right to left layout; these values were reversed for
    extent calculations but not for general positioning. With this change
    the left and right margins are never reversed in a right-to-left layout,
    so minXExtent and maxXExtent calculations always use startMargin
    and endMargin respectively, regardless of layout direction.
    
    Also fixes calculation of endOffset in trackedPositionChanged() when
    in horizontal orientation.
    
    Change-Id: Ie00e3d4c2bd38d8fe6ac0213702206b88bfa895e
    Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
    80b56127
Name
Last commit
Last update
..
data Loading commit data...
incrementalmodel.cpp Loading commit data...
incrementalmodel.h Loading commit data...
qquicklistview.pro Loading commit data...
tst_qquicklistview.cpp Loading commit data...