diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-09-24 10:09:12 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-09-24 14:53:38 +0200 |
commit | d39a6d80f63414a4e933ac2f859805635850942a (patch) | |
tree | 4c212c06d8bb669f5643cfb35e3942ce884732ba /tests/auto/controls/data/tst_combobox.qml | |
parent | 2275541b52a8879cd8c7bf281b385738e5a664fe (diff) |
Tumbler: fix displacement calculation when wrap is false
Use the position of the item and the currentItem in the calculation
in order to get reliable results. This fixes the displacement being
off by a small margin, which increased as the delegate height became
smaller.
Fixes: QTBUG-66799
Change-Id: Ieca5033fb4c0ed62f5965a21fcab7aa558bd40e6
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls/data/tst_combobox.qml')
0 files changed, 0 insertions, 0 deletions