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

TextArea in GridPane will not stretch vertically

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u15, 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Windows 7 64-bit
      Java 8.0.0-b80

      Description

      Using a GridPane to implement a simple form, I have a column of labels and a column of controls. The bottom right control is a text area. The bottom row and right column are set to grow always. The TextArea max width and height are set to MAX_VALUE. But the TextArea will only grow horizontally, and adjust a little bit vertically - but it will stop crowing vertically such that it does not fill the "cell" in the GridPane.
      (Sample code on the way.)

      Same issue also appears in HBox.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ekrejcir Eva Krejčířová (Inactive)
              Reporter:
              swpalmer Scott Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: