Relative Positioning
Hbox
public void initUI() {
HBox hBox = new HBox(HBox.LAYOUT_FILL, HBox.ALIGNMENT_STRETCH);
for (int i = 0; i < 5; i++) {
hBox.add(new Button(i+""));
}
add(hBox, LEFT, CENTER, FILL, PREFERRED);
}Vbox
Attributes
Methods
Last updated
Was this helpful?