Tooltip Window Background Shadow


#1

I’m trying to add a tooltip window inside of a custom component being created by a class inheriting from TreeViewItem which displays the name of the tree inside the tooltip. Everything seems to work fine, apart from the tooltip has a large rounded rectangle painted behind it (shown below).

Removing my customLookAndFeel doesn’t appear to stop this from occurring and scanning through the JUCE library code behind the painting of the tooltip, I can’t seem to find anything which would cause this. Any ideas?


TooltipWindow border
#2

That looks like you have a massive stack of tooltip windows on top of each other! Make sure you only have one!


#3

Thanks for the hint Jules. I’d put the Tooltip window inside the TreeViewItem and so ended up with about 20 tooltips, one for each item in the tree!