QTabWidget documenttion issue

Discuss anything related to product development
Post Reply
seasoned_geek
Posts: 246
Joined: Thu Jun 11 2020 12:18 pm

QTabWidget documenttion issue

Post by seasoned_geek »

All,

The doc is not complete for this as of what is on-line right now so I'm going to say this is an issue, not a bug.

If you have setElideMode() set to anything other than Qt::ElideNone, it doesn't matter if you call setUsesScrollButtons( true). I put 20+ files into an editor and never saw the buttons. The tabs just keep shrinking. Maybe that's how it is supposed to work? If so, just needs to be pointed out. When it gets down to one letter and ... for each tab it really is time to show the scroll buttons if they are enabled...in my opinion anyway. There should be some tipping point where it punts and shows the scroll buttons.

All works well with Qt::ElideNone.
Post Reply