Insert space between juce::TreeViewItems

Hi,

how can I increase the space between some of my juce::TreeViewItems? Just increasing the size of the tree view item is not viable, it’s “OpenCloseButton” is aligned vertically and gets resized as well.
For now I insert an invisible TreeViewItem between some of my items to increase the space, but then the tree needs to track the items and remove the invisible item with the item itself, also the invisible item should only inserted between items, and keeping track of all this is just tedious when a simple function to increase the item space could be used.
Thanks

If you need space between only some of the items, I think you would make a custom component using createItemComponent() and add some padding inside it.