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

ListView automatically adds scroll bars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7u6
    • None
    • javafx

      When adding a ListView to the scene I get scroll bars around it even though I did not put it in a scroll pane. My application users all have either a scroll wheel mouse or a trackpad which support scrolling, wherefore our requirement is to not show scroll bars. It seems counter-intuitive that they are added even though I never requested it, and moreover there is not property for switching off scroll bars.

      In some applications it might be a user preference whether to show scroll bars or not, but if a users chooses to hide scroll bars (to get more room for content), a JavaFX cannot invoke a method to make them disappear.

            jgiles Jonathan Giles
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: