Details
Description
Using Qt 5.6.x LTS, a QTabBar object properly renders the icon associated with a given tab. However, using Qt 5.9.x LTS, the icon is not rendered in the right place anymore and may, in fact, even overlap with the tab title itself (if that one is too long).
Attached is a small project that illustrates the issue, as well as a couple of screenshots when building the project with Qt 5.6.2 LTS and Qt 5.9.1 LTS, respectively.
Note that the close button also disappears using Qt 5.9.x LTS, but this is already being addressed in QTBUG-61092.
Attachments
Issue Links
- relates to
-
QTBUG-61092 QTabBar::close-button dissappeared from Qt5.8 to 5.9
- Closed
-
QTBUG-62393 Too much whitespace in QTabWidget with icons on MacOS
- Open
For Gerrit Dashboard: QTBUG-61742 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
199406,2 | QMacStyle: Add back icon logic in tab layout | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |