title: Is there a concept of growth priority in javafx?
body: <p>How does JavaFX renderer decides which component grows when pref sizes sum of 2 components is lower than the overall scene size ?
  Is there any way to decide which component should grow first and how more than the other component as flexbox does in regular css ?
  here is a css code that describes what i want to do in my javafx app :</p>
  
  <pre class="lang-css prettyprint-override"><code>.my-container {
     display: flex;
     width: 1400px;
  }
  
  .my-component-1 {
      /*pref width is 800*/
     flex: 2;
  }
  
  .my-component-2 {
     /*pref width is 300*/
     flex: 1;
  
  }
  </code></pre>
  
  <p>for example, in the above case, component 1 will grow up to 1000px and component 2 up to 400px.
  what is the javafx equivalent to the flex property ?</p>