summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgettextcontrol.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-04-18 14:44:30 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2023-04-20 14:01:22 +0200
commit034a071bdac62e7e5cb4e44f7b19eb628b64d095 (patch)
tree69fa0de87047d4518b47feb7ba4042538e570da4 /src/widgets/widgets/qwidgettextcontrol.cpp
parent25fcded977e5283ff0e33e0465abbb544a41f30e (diff)
QGtk3Theme: Improve fixed font delivery
The gtk_fixed widget was used as a reference to obtain a fixed font and HeaderViewFont. This is a mistake, because the gtk_fixed widget is a container for other widgets with fixed geometries and no layouting. This patch makes the default style being used for a fixed font and, as a drive-by, the combo box as a reference for a header view font. A monospace based css provider as explicitly added to the style context, in case a fixed font is requested. The provider is removed afterwards. Task-number: QTBUG-112896 Pick-to: 6.5 Change-Id: I6bfb2ee9e7befdd2102bdcc6e53ced954a024034 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/widgets/widgets/qwidgettextcontrol.cpp')
0 files changed, 0 insertions, 0 deletions