Calculating VBox dimensions before first render

64 Views Asked by At

I am attempting to translate a VBox's X,Y before displaying it on the pane.

Problem is, when using vBox.getHeight(), I always get 0.0 before the vBox is actually rendered.

Is there a way to be able to retrieve these dimensions dynamically so I can translate the VBox before render?

0

There are 0 best solutions below