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

Virtualized controls: add api to support semantic prefHeight computation

XMLWordPrintable

      currently the skins hard-code it to 400:

          @Override protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) {
              return 400;
          }

      Instead, the default computation should be based on # of rows to show. A first step could be to delegate to VirtualFlow. Which takes the cellCount, unfortunately max'ed to a hard-coded 10.

            aghaisas Ajit Ghaisas
            fastegal Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: