Skip to content
Verified Commit effe300e authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

ToolBar: Attempts at fixing heading size for specific fonts

Qt 6.3 introduced new property to fill the gap between Text/Label
implicitWidth and TextMetrics width/advanceWidth: renderType. It was
supposed to fix all the inconsistency issues with fonts like Noto Sans
8pt that causes our Kirigami headers to elide into oblivion.

Unfortunately though, it does not seem to be enough, as TextMetrics
still reports e.g. 36.40625 px for a "Chips" string for which a Heading
would require 38.984375 px of space. But at least now we can say we've
done everything we could on our side.

See also:
- https://bugreports.qt.io/browse/QTBUG-85936
- https://bugreports.qt.io/browse/QTBUG-83936
- https://bugreports.qt.io/browse/QTBUG-94023

CCBUG: 474881
parent b829b4c2
Pipeline #488004 passed with stage
in 2 minutes and 55 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment