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

Label in GridPane with wrap=true in column span of 2 is broken

    XMLWordPrintable

Details

    Description

      If you have a label with lots of text and wrap = true inside a GridPane. Then make it span then the prefHeight is calculated wrong as when GridPane calls label.prefHeight(width) the width it passes is only the width of the first column it is spanning not all columns and gaps.

      The end result is way too much height is given to rows with these labels in.

      Attachments

        Issue Links

          Activity

            People

              kwwong Kinsley Wong (Inactive)
              jasper Jasper Potts (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: