Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0
-
None
Description
Introduced by 175f33ed855b0a8a30daafacd4f48fa3f8e76a9b.
Code that reproduces the issue (Style::styleHint() must return Qt::AlignRight for SH_TabBar_Alignment):
#include <QApplication> #include <QTabWidget> #include <QTabBar> int main(int argc, char *argv[]) { QApplication app(argc, argv); QTabWidget tabWidget; for (int i = 0; i < 3; i++) { tabWidget.insertTab(i, new QWidget(), QString("Tab %1").arg(QString::number(i))); } tabWidget.setTabPosition(QTabWidget::North); tabWidget.setDocumentMode(true); tabWidget.tabBar()->setExpanding(true); tabWidget.resize(640, 480); tabWidget.show(); return app.exec(); }
Attachments
Issue Links
- relates to
-
QTBUG-64733 [Reg 5.8->5.9] Visual apperance of QTabBar with expanding tabs has changed
- Closed
For Gerrit Dashboard: QTBUG-61480 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
197913,4 | QTabBar: fix expanded tabs appearance | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |