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

ScrollPane doesn't take scrollbar width into account

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx2.1, 7u6
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      javafx-sdk2.2.0-beta-b06

      Description

      Run the attached app. It has two ScrollPanes. One has it viewportPrefWidth bound, second has its prefWidth bound. The result is almost the same. Keypoints are:
      1. setting viewportPrefWidth to content width doesn't allow it to fit into view due to scroll bar width
      2. horizontal scrollbar doesn't appear in the first ScrollPane however the content is not fully visible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dgrieve David Grieve
                Reporter:
                mrkam Alexander Kuznetcov (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: