I\'ve been working on a software using JavaFX and I have a stupid but worrying problem.
In certain part of the code I have a HBox, and, inside of it three
I think that the best option could be switching from HBox to BorderPane. It let You make items sticked to any edge of Your window.
Another option is GridPane. You can select column and change its 'Halignment' property to 'RIGHT'.
And, by the way, I recommend using JavaFX Scene Builder while having fun with JavaFX.