How can I align items of Toolbar to the right in JavaFX [duplicate]
问题 This question already has answers here : How to right align a button in Java FX toolbar (3 answers) Closed 2 years ago . How can I align the items of a toolbar to the right?? All alignment settings seem to not work. I´m using the layout designer. Please help <BorderPane fx:controller="vmanager.ui.Controller" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com