VBox | JavaFX GUI Tutorial for Beginners

Опубликовано: 21 Октябрь 2024
на канале: Java Code Junkie
8,447
100

In this tutorial I will show you how to use the JavaFX VBox. VBox lays out its children in a single vertical column. If a VBox is resized larger than its preferred height, by default it will keep children to their preferred height, leaving the extra space unused. If an application wishes to have one or more children be allocated that extra space it may optionally set an vgrow constraint on the child.

Check out my YouTube Channel for more FREE videos
   / @javacodejunkie  

Project code is available on GitHub:
github.com/JavaCodeJunkie/javafx