4 Replies Latest reply on Dec 12, 2012 6:04 PM by 918044

    TreeView icons appear and disappear

      So I've got a TreeView working fine, then I tried to add an icon to each of the items using either the ctor: TreeItem<>(value, graphic) or the item.setGraphic(graphic) call. The icons show up on some of the items but not others, without a detectable pattern. Also, the icons sometimes appear when I collapse an item then disappear when I expand it.

      I tried using a pretty large icon file, and now all of my items are spread out like they have left space for the icon, but only some of them show it.

      Any Ideas?