Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120500

Constraints on GridPane don't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx

      See the attached application. It uses following column constraints:
              c1.setHalignment(HPos.RIGHT);
              c2.setHgrow(Priority.ALWAYS);
              c2.setFillWidth(true);
      I would expect the content of the first column to be aligned right and the second column to grow with its content filling the entire width. None of this happens.

      Row constraints behave the same (don't seem to be used).

      Or did I understand the usage wrong?

            msladecek Martin Sládeček
            psafrata Pavel Šafrata
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: