Is it possible to have the OpenCloseButton show even if there are no children below an item?
I am trying to build something that is like a PropertyPanel but with a list of items instead of PropertyComponents.
The way I have t working is by creating a tree that is only two items deep. When I draw the first level items I set the background color. If there are no children, there is no OpenCloseButton and the background is white.
Is there a better way to do this?