Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.11, 5.12.0
-
None
-
I believe it affects all environments.
-
-
5a03dfa249a270fed2c73b6d6a64a79e80eda583 (qt/qtbase/dev)
Description
the alignment is stored in a 8-bit wide bit field in QTextOption but Qt::AlignBaseline = 0x100, hence that flag is dropped.
I don't understand why the vertical alignment flags start with 0x20 rather than 0x10. Is that because of legacy?
see https://stackoverflow.com/q/55296327/4248972 for code examples.
Possibly related: https://bugreports.qt.io/browse/QTBUG-28538