📅  最后修改于: 2022-03-11 14:52:47.502000             🧑  作者: Mango
//for creating space between elements in VBox
//first import the VBox and create a VBox object
// To import
import javafx.scene.layout.*;
// create the object
VBox vbox = new VBox();
// change the value as you want
vbox.setSpacing(10);