qt5base-lts/tests/auto/widgets/styles
Volker Hilsheimer e3b2b12a91 QTabBar: take a style sheet's font into account when laying out tabs
If a tab has a font assigned to it through a style sheet, then take the
font size into account when calculating the contents rectangle.

Add a test, which hardcodes the windows style to avoid flaky behavior
when e.g. macOS lays tabs out in the center.

Fixes: QTBUG-92988
Pick-to: 6.1
Change-Id: Ifb0ac97db7647cc25367972737be8878e50f6040
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2021-05-06 20:06:44 +02:00
..
qmacstyle Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstyle Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstyleoption Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstylesheetstyle QTabBar: take a style sheet's font into account when laying out tabs 2021-05-06 20:06:44 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00