[2.0.64] tabbed-pane width changing per-tab?
Posted: Sun Aug 17, 2025 4:51 am
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?
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?