I have a mod with a GUI window whose main component is a tabbed-pane. In each tab, there is a vertical frame that contains a scroll pane, which in turn contains a table.
Each of these scroll panes may have a different width. However, the window only resizes on the scroll pane in the first tab. Any change in the content here, increases or decreases the width of the window while in the other tabs, the table within the scroll pane resizes but not the scroll pane itself.
First pane:
Second pane:
Both look the same in the GUI view:
but when I look at the table (which is inside the scroll pane), then the tables have different widths.
First pane:
Second pane:
My assumption was that when the users switches tabs, the content of the window would resize as well. But it seems that the overall size of the tabbed-pane is controlled by the largest content in any pane.
Can that be changed? Or is it a limitation of the GUI components?
[2.0.64] tabbed-pane width changing per-tab?
Re: [2.0.64] tabbed-pane width changing per-tab?
That is the behaviour of tabs and you can't control it.
You can however recreate the tab system, by using buttons and a frame
You can however recreate the tab system, by using buttons and a frame
Re: [2.0.64] tabbed-pane width changing per-tab?
Thanks. I expected as much. I won't bother reimplementing. 
