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

ListView CSS property -fx-hbar-policy not working

XMLWordPrintable

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

      I am working on a class which descends from ListView to show a horizontal, scrollable list of items. When setting

      .scroll-bar {
      -fx-hbar-policy: never;
      }

      I would expect the horizontal scroll bar of my list view to disappear it does not. I tried

      .scroll-bar:horizontal {
      -fx-hbar-policy: never;
      }

      and

      .myListView .scroll-bar {
      -fx-hbar-policy: never;
      }

      as well but to no avail, so I think there may be a bug here.

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

              Created:
              Updated:
              Resolved:
              Imported: