Missing Scrollers for QTabWidget on MacOS



  • I just observed that I don't get scrollers for a standard QTabWidget on MacOS when the size of the tab text / number of tabs exceeds the space to print them, see just below the window title in the screen dump below. I don't have this problem when building on Ubuntu (gcc) and Windows (MinGW & VS). Any ideas on whether I need some extra setting to QTabWidget for MacOS?

    MacOS Screen Dump



  • Well, I already found the answer myself after digging a bit further. I need to use QTabWidget::setUsesScrollButtons, which solves it :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.