Virtual-TreeView icon indicating copy to clipboard operation
Virtual-TreeView copied to clipboard

Activate option toAutoHideButtons by default, so that empty nodes by default do not show a +/- button

Open MHumm opened this issue 3 years ago • 3 comments

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

MHumm avatar Feb 11 '22 14:02 MHumm

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.

joachimmarder avatar Feb 14 '22 19:02 joachimmarder

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.

MHumm avatar Feb 15 '22 08:02 MHumm

I'm of course for getting this implemented, but of course I'm biased on this ;-)

MHumm avatar Apr 05 '22 13:04 MHumm