Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.8.4, 4.8.6, 5.0.1, 5.4.0 Alpha
-
None
Description
The style sheet reference documentation says any length can be specified with units of pt, px, em, or ex.
https://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet-reference.html#length
However the code in qcssparser.cpp differs:
- for font sizes, only pt and px work (setFontSizeFromValue())
- for other sizes, only px, em and ex work (ValueExtractor::lengthValue())
Attachments
For Gerrit Dashboard: QTBUG-31907 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
95463,2 | Fix misleading documentation | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |