how to create space between element in vbox in javafx

Solutions on MaxInterview for how to create space between element in vbox in javafx by the best coders in the world

showing results for - "how to create space between element in vbox in javafx"
Keaton
22 Mar 2019
1//for creating space between elements in VBox
2//first import the VBox and  create a VBox object
3// To import 
4import javafx.scene.layout.*;
5// create the object
6VBox vbox = new VBox();
7// change the value as you want 
8vbox.setSpacing(10);
9
similar questions
javafx vbox remove child