@S The different layouts -- VBox, HBox, AnchorPane, etc -- will define how the extra space is divided up. In some cases, you can specify a Priority with your component that will grow with the container. For example, a TextField put in an HBox or VBox can grow with the width of the screen.