Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2, 5.6.1
-
None
-
Windows 7 64-bit
-
25133a1b77c059e32760f3d288c985183d86da4a (qt/qtbase/5.12)
Description
Item view widgets (List, Tree, ...), when eliding text, change the font size if a stylesheet was set.
In the attached example project, just run the application and resize the widget horizontally to trigger/stop text elision. The font size changes when it happens.
This is visible at least on Windows 7, and more obvious if the system DPI scaling is more than 100% (but still visible at 100%)
Attachments
Issue Links
- duplicates
-
QTBUG-34133 Modifying a font in style delegate doesn't work when text is elided
-
- Closed
-
- is duplicated by
-
QTBUG-22572 On Windows 7, text in QTableWiget has its font change when it gets elided
-
- Closed
-
For Gerrit Dashboard: QTBUG-56759 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
249017,9 | QAbstractItemView: fix rendering centered/right aligned item text | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |