Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.5.1
-
None
-
Windows, VS2022 x64
Description
Adding tab to `QTabBar`, setting a button and then making tab current "scroll" content and show only last tab.
constexpr int tabCount = 5; for (int i = 0; i < tabCount; ++i) { auto id = tabBar->addTab(QString("hello %1").arg(i)); tabBar->setTabButton(id, QTabBar::RightSide, new QLabel("X", this)); tabBar->setCurrentIndex(id); }
Repro is included.
Current (Qt 6.5.1):
Hover over tab and scroll with mouse to make QTabBar look normal.
Attachments
Issue Links
- duplicates
-
QTBUG-115109 [REG] QTabWidget doesn't draw tabs on the left of the initially current tab
-
- Closed
-
- resulted from
-
QTBUG-113376 [REG 6.5.0 -> 6.5.1] QTabBar: Jumping non-expandable tabs
-
- Closed
-
-
QTBUG-113140 Resizing a QTabBar resets the scroll position
-
- Closed
-