When changing the tab position, the scroll offset is calculated wrongly because the calculation is done before the size of the tabbar is recalculated. Therefore wait until QTabBar gets the resize event and calculate the new tab positions there. Pick-to: 6.5 Fixes: QTBUG-119366 Change-Id: I261a91bb584409b9b0dac4339a32894f47540bcf Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 1082038bd89d0bbba4df0d9b3f8af3cd0a2f96f2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%