Consider a custom component which inherits from VBox. The component\'s height and width may change depending on some selection. In my Scene I usual
VBox
Scene