I have a QTabWidget with too many tabs
and they overflow with scroller arrows. I want to increase the width of the scroller arrows by more than twice of the default width so they are easier to use on a touchscreen.
There is a QTabWidget StyleSheet example but I cannot seem to get it to work nicely. The stylesheet below produces this screenshot
QTabBar::scroller { /* the width of the scroll buttons */
width: 40px;
}
QTabBar QToolButton { /* the scroll buttons are tool buttons */
width: 15px;
border-width: 2px;
}
where I would like something like this screenshot I edited.
解决方案
Method #1: This appears to be a bug, plain and simple. The background of the buttons is tra