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

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: