title: Setting VBox.vgrow on a child element of <fx:root> in JavaFX 8
body: <p>I have the following .fxml file:</p>
  
  <pre><code>&lt;fx:root type="javafx.scene.layout.VBox" xmlns:fx="javafx.com/fxml"&gt;
      &lt;Pane VBox.vgrow="ALWAYS"&gt;
          &lt;!-- ... --&gt;
      &lt;/Pane&gt;
  &lt;/fx:root&gt;
  </code></pre>
  
  <p>However, there is an error at <code>VBox.vgrow="ALWAYS"</code>, since <code>&lt;fx:root ...</code> is not exactly a VBox. How can I do this in FXML (no Java)?</p>
  
  <hr>
  
  <p><strong>Edit:</strong> The error in my IDE shows "Attribute VBox.vgrow is not allowed here", and the error the Java application gives is "VBox.vgrow is not a valid attribute."</p>