diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2021-09-22 14:03:17 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-05 14:38:11 +0000 |
commit | ebe36ea115795af79f10310aa624b57b25ea694a (patch) | |
tree | 03e0fb2bf7ffe247743171bb1e62c8141512448a /tests/README | |
parent | 5c246264d9d61307cf4e2004457923198c5bb7bd (diff) |
Do not override font size by default
Font overriding should be a style-specific behavior. For instance, macos
style cannot use a different font size than the default. Therefore, this
patch moves the font overriding over to the macos style.
This prevented font size to be inherited from the parent control
Fixes autotests Popup::test_font() and ComboBox::test_font() on Windows
style.
Task-number: QTBUG-95679
Change-Id: Ic24de04a517a8a8710f916e70117729c41c1534e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit 43eca45b061fe965fe2a6f1876d4a35a58e3a9e4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/README')
0 files changed, 0 insertions, 0 deletions