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

TreeView and ListView custom cells disappear and change sizes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • jdk1.8.0b82 mac os 10.8.3

      Attached program shows a tree with a custom cell renderer that uses setGraphic(...) to render the nodes. When the window first appears, the nodes under "B" don't appear. When moving your mouse over the nodes, the appear, disappear and change sizes in weird ways. Also, resizing the window makes nodes appear and disappear. Just using setText(...) in the renderer works fine.

      ListView has a similar issue where nodes change sizes/padding. However, TreeView suffers the most by far.

      I haven't tried TreeTableView.

            jgiles Jonathan Giles
            cstanford Curtis Stanford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: