Virtual-TreeView
Virtual-TreeView copied to clipboard
Activate option toAutoHideButtons by default, so that empty nodes by default do not show a +/- button
Given a VST containing a node and a subnode. The node displays a + button for expanding/displaying the sub node. It even displays that indicator when the sub node has no vsVisible set in states and thus is not visible. Collapsing/uncollapsing does not make sense in that scenario. Attached is a demo application showing this behavior. Run it and click the test button. VSTInvisible.zip
This is more or else a duplicate of #717. You need to set the option toAutoHideButtons to get the behavior you want. If you agree, I will rephrase this issue to set this option as default.
Yes, I agree with rephrasing this and I guess changing that default would make sense. I guess the current default is not really what most developers would expect.
I'm of course for getting this implemented, but of course I'm biased on this ;-)