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

TreeView and ListView custom cells disappear and change sizes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      jdk1.8.0b82 mac os 10.8.3

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: