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

Constraints on GridPane don't work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: