A VBox stacks the controls or the nodes vertically, in the order that they are declared inside its block. Take a look at the following example:
vbox {
button("Button A")
button("Button B")
}
This image illustrates the vbox shown in the preceding code: