JavaFX HBox Alignment
问题 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 items: an image , a label and a VBox . The issue is that I would like to have the image aligned to the left, that is, next to the left margin of the window , and the VBox aligned to the right, that is, next to the right border of the window and I don't know how to do it. I've tried to use VBox.setAlignment(Pos.RIGHT_CENTER) , but it didn't