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

ListCell is not resizable during the run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx
    • Win7 64b

      Once cell is sized, it can not be resized

          cell.setOnMouseClicked(new EventHandler<MouseEvent>() {

                  public void handle(MouseEvent t) {
                      System.out.println("cell clicked");
                      final Contact contact = cell.getItem();
                      cell.setPrefHeight(EXPANDED_HEIGHT);
                      cell.setMinHeight(EXPANDED_HEIGHT);
                      cell.autosize();
                      cell.resize(Util.LIST_WIDTH, EXPANDED_HEIGHT);
                  }
              });

      none of these is working to resize correctly cell

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: