diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-01-20 16:01:51 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-01-20 15:26:30 +0000 |
commit | 7f2a5162511f5ce47ce8ff2b7e90071cedab37f9 (patch) | |
tree | 916b59627d936427564f765512c19ca1119a16ea /tests/auto/controls/data/tst_abstractbutton.qml | |
parent | 6c0ee76c646778d6a45018acc8d561c5a5d931f8 (diff) |
QQuickScrollBar: fix overshoot
ScrollBar should not always force a range of 0.0-1.0, but only when
interacted with. This way, the scrollbar stops at bounds when dragged,
but flicking the attached Flickable respects its boundsBehavior and
overshoots if appropriate.
The logic and test is adapted from QQuickScrollIndicator commit 8d093a.
Change-Id: Ida720d4cc2bb1de06ba0c02dfb25be51dd3108fc
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls/data/tst_abstractbutton.qml')
0 files changed, 0 insertions, 0 deletions