How to make a tabSheet stay the height of the largest tab?

Is there a way to configure a tabSheet so that its height is always that of the largest tab? It looks very jarring to change tabs and have the whole screen shuffle.


If you’re using TabSheet in a dialog window, I would recommend define a fixed height for a window and set height=100% for TabSheet.


This is not in a dialog window; it is on a normal screen.

In this case, TabSheet is made expanded vertically. Alternatively, it can be located in a container with a fixed height.

Right now for a temporary solution I have the tabSheet set to a fixed height in px but I was hoping there was a setting that would do it automatically based on the largest tab.