diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-11-22 19:24:42 +0100 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-11-24 10:49:56 +0000 |
| commit | 354d23f93c093508e15094dcebb5d3826585723f (patch) | |
| tree | b404fdefda8ac10d22d810a24514ac91c4940442 /src/tools/uic/cpp/cppwriteinitialization.h | |
| parent | d37740437178cb6f9ef25447e2adc5d0cb90acf4 (diff) | |
QTabBar: properly calc tab positions when changing tab position
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.
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>
(cherry picked from commit b141b20668183f70758016c0f67fb7e366d83243)
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.h')
0 files changed, 0 insertions, 0 deletions
