diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-09-19 13:23:10 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-09-25 09:34:59 +0200 |
commit | 219b55faa4848a4967bb34e34d4326a854b12e2a (patch) | |
tree | 60c54edb941504224d04abb4e7a46ff3a1508f8c | |
parent | 5b9e833e77b269a41f51aa65c238c8b23a82b7a7 (diff) | |
download | qtquickcontrols-219b55faa4848a4967bb34e34d4326a854b12e2a.tar.gz |
tst_tumbler: adapt test after changes to PathView
3df387d63421f09533ab72e2a73fb5d259693120 changed the flicking behavior
of PathView slightly, so we need to adapt this test to reflect those
changes.
Fixes: QTBUG-78471
Change-Id: I093bfea9a4d089b4f61c405ab41aa1f4ea77d422
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r-- | tests/auto/extras/data/tst_tumbler.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/extras/data/tst_tumbler.qml b/tests/auto/extras/data/tst_tumbler.qml index e3e44471..54365f14 100644 --- a/tests/auto/extras/data/tst_tumbler.qml +++ b/tests/auto/extras/data/tst_tumbler.qml @@ -349,8 +349,7 @@ Item { var pos = Qt.point(columnXCenter(tumbler, 0), tumbler.__style.padding.top); mouseDrag(tumbler, pos.x, pos.y, 0, tumbler.height - tumbler.__style.padding.bottom, Qt.LeftButton, Qt.NoModifier, 300); - // See QTBUG-78471 - //tryCompare(tumbler.__viewAt(0), "offset", Settings.styleName === "Flat" ? 6.0 : 4.0); + tryCompare(tumbler.__viewAt(0), "offset", Settings.styleName === "Flat" ? 5.0 : 3.0); tumbler.height += 100; var padding = tumbler.__style.padding; |