A HBox is very similar to a VBox. It stacks all controls or nodes horizontally, left to right, in the order declared in its block. Take a look at the following example:
hbox {
button("Button A")
button("Button B")
}
This image illustrates the hbox shown in the preceding code: