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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u20
    • Affects Version/s: 8u20
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: