Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
b0b278d45 (dev)
Description
QLabel label("Hello"); label.setStyleSheet("letter-spacing: 10px"); label.show();
The snippet above is confirmed to work, that "letter-spacing" can adjust spacing between letters. That's probably because letterSpacing is a property of QFont:
https://doc.qt.io/qt-6/qfont.html#letterSpacing
But it is not documented anywhere. So it's better to document it, e.g., here:
https://doc.qt.io/qt-6/stylesheet-reference.html#font
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131019 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
603661,4 | Document word-spacing as a property of style sheet | dev | qt/qtbase | Status: MERGED | +2 | 0 |