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

[TilePane] if there are no rows or columns, prefWidth/Height should be the sum of the relevant insets

XMLWordPrintable

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

      The TilePane private methods computeContentWidth and computeContentHeight should probably return zero if columns == 0 or rows == 0 (respectively). As it is now, they will return a negative number which results in the computed width/height being less than the sum of the relevant insets.

            msladecek Martin Sládeček
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: