0 Replies Latest reply: Sep 27, 2013 10:30 AM by 3a132ce1-ddfc-47dd-ac30-3e66c70c6b34 RSS

    GridPane: Mixing of size types

    3a132ce1-ddfc-47dd-ac30-3e66c70c6b34

      Example:

       

      I have a realy simple form which looks like this:

       

      LABEL1TextField1Label2TextField2

       

      - Columns of Label1 and Label2 should get a fixed width

      - TextFied1 column should get 20% and TextField2 column should get 80% of the available size

       

      From my understanding of the GridPane, this example is not possible with one GridPane like it was for example with the GridBagLayout (Swing).

       

      That´s because of the fact, that the percentage space is always allocated first.

      And then there is no space left for the Label columns.

       

      Is that correct, oder did i just understand something wrong?