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

javafx.scene.layout.GridPane: RowConstraints.setFillHeight should work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx
    • promotion b31

      - run application attached:
      there is GridPane with RowConstraints.setFillHeight(false) for the first row.
      ("false" is default value)
      as described in javadoc, "The gridpane will use this property to determine whether nodes contained within the row should be expanded to fill the row's height or kept to their preferred heights."
      The node in first row, first column is StackPane (see screenshot: stackPane has red border).
      actually stackPane resized to it's maxHeight/maxWidth.

      expected: stackPane should be resized to it's prefHeight (10 for this sample application)

            amfowler Anne Fowler (Inactive)
            vshubov Victor Shubov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: