Unsolved qtabwidget make some tabs under others
-
when I add many tabs I end with an arrow button to reach the other tabs or I have to reduce the width of the tab
but I want them to be like this :
-
As far as I know this feature is still open.
However, you are not the only one asking for it.
https://forum.qt.io/topic/25339/how-can-divide-qtabwidget-into-multiple-lineshttps://bugreports.qt.io/browse/QTBUG-2061
https://bugreports.qt.io/browse/QTBUG-22487
All quite very old.
-
so it won't be implemented in qt ?
isn't there any workaround ? -
@user543120
Hi
Mostly like this will never be added unless someone contribute code for it.
The current workaround is not to use that many tabs.
Tabs are basically a selector and you can use combo boxes, popup menus and lists
to allow user to choose an item from many.Why do you need so many tabs ?
-
Hi,
If you need that many tabs, you might want to consider a different paradigm for presenting your dialog. A bit like VLC's preferences: a QListView/QListWidget to select which part you want to access and on its side a QStackedWidget with the content you want to show.
-
Why do you need so many tabs ?
because there are many tabs that belong to one category and I don't want to split them in : part1 and part2
-
@SGaist said in qtabwidget make some tabs under others:
Hi,
If you need that many tabs, you might want to consider a different paradigm for presenting your dialog. A bit like VLC's preferences: a QListView/QListWidget to select which part you want to access and on its side a QStackedWidget with the content you want to show.
I'll try this