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

ScrollPane doesn't take scrollbar width into account

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8u20
    • fx2.1, 7u6
    • javafx
    • javafx-sdk2.2.0-beta-b06

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: