diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2019-12-03 11:52:55 +0100 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-01-31 23:06:22 +0100 |
commit | e9b4fac4e1765ea8789b17948a0a22fad7db50c0 (patch) | |
tree | 7975421211f031372cac050b1a570485c6558465 /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | |
parent | 30b0bf3bf3097045d1027603ab9102712ac2d512 (diff) |
Fix some ListView bugs related to snapping when it had a header
Most bugs were related to the PullBackHeader header positining mode, for
instance the old code did not take into consideration that for the
PullBackHeader it was sometimes not sufficient to scroll the view. The
header also had to be scrolled independently from the view:
We achieve this by hooking on to the same timeline that is used for
scrolling the view. (This way, both animations are synchronized, and
they start and end at the same time).
Change-Id: I75708c0fd8d4741032c04ad9ee144d7a49cf3359
Fixes: QTBUG-76362
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 01660fbb67c39c74b2e1eeae1e3d1b97c8886cdb)
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
0 files changed, 0 insertions, 0 deletions