title: JavaFX VBox.getHeight() returns wrong value
body: <p>I'm making a program that converts a .xml file, containing information regarding a UML diagram, to an actual UML diagram. To draw arrows, I need to get the height of the VBoxes I'm using (they are children of an AnchorPane). I did the following thing:</p>
  
  <pre><code>pane.applyCss();
  pane.layout();
  VBox.getHeight();
  </code></pre>
  
  <p>But the getHeight() value returns the wrong value. It should be something around 40 but I get 32.</p>
  
  <p>How could I fix this?</p>