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

[ListView] page up/down navigation doesn't work, when items are large

    XMLWordPrintable

Details

    Description

      Code :

          @Override
          public void start(Stage stage) throws Exception {
              ListView lv = new ListView();
              lv.setOrientation(Orientation.VERTICAL);

              for (int i = 0; i < 10; i++) {
                  lv.getItems().add(new Rectangle(50, 170));
              }

              stage.setScene(new Scene(lv, 100, 100));
              stage.show();
          }

      try to do navigate there using page up / page down
      Actual for both, vertical and horizontal orientation.

      Affected tests:
      graphics/api/control/ListViewTest1Test.java
      graphics/api/control/ListViewTest2Test.java

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: