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

A ScrollPane with TilePane of Rectangles computes wrong height

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      Crate a ScrollPane with a TilePane full of rectangles. The height is calculated based on the min width of the tile pane not its width given current available width. End result is you end up with tons of extra space at bottom of ScrollPane.

      You can see in the attached pic that all the content fits in the window but the scroll bar is showing and it's thumb is tiny indicating there is a lot more content to scroll but there is not, its all empty space.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amfowler Anne Fowler (Inactive)
                Reporter:
                jasper Jasper Potts
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: