Reputation: 71
I want to have a rectangle at the center of a borderpane but i want to make sure that the rectangle's size will follow the size of the center of the borderpane, how can we do that?
PS: I'm using JavaFX 8 (no FXML file just java code).
Thanks in advance
Upvotes: 1
Views: 410