we are trying to build a TGTab with a great number of tabs. In order to accumulate all tabs in a small window, we would like to use a multirow or a side tab option (vertical tabs). I found a post from dec. 2004 (root.cern.ch/phpBB2/viewtopic.ph … ight=tgtab) claiming that a prototype existed, but wasn’t official at that time. During the last 4 years, has anybody implemented such a multirow option or does a side tab option exist?
We had several discussions about this TGTab issue, and we didn’t find a good way to solve this (scrollable, multi-level, …) Then nothing has been done so far. But we’ll keep it in our todo list.
BTW, this kind of problem is sometimes a symptom of bad GUI design…
STAR uses the QTabBar/QTabWidget classes with the embedded TCanvas for its online monitor applications. I know many LHC online / DAQ groups do the same.
QTabWidget can be nested. This way one can provide the unlimitted number of “tab rows”
(see doc.qtsoftware.com/4.5/qtabwidget.html#details doc.qtsoftware.com/4.5/qtabbar.html#details ).
QTabBar is just a bar to represent one “tab row”. One can create as many “tab rows” as needed and layout it with any standard layout (vertical box, grid, horizotal box) or random whatever (see doc.qtsoftware.com/4.5/qtabbar.html#Shape-enum )
Is it possible to somehow reduce the width of the tab itself (i.e. where the tab text is placed)? In my case the text is just a number (0-64), however, the tabs have the width too large.