Tooltip not showing when using Button::setCommandToTrigger


#1

I’m trying to get a tooltip to show when hovering over a button by making a button trigger a command, but the tooltip does not show up.

powerButton->setCommandToTrigger(commandManager, CommandIDs::play, true);

I have never used tooltips before, so is there some additional setup needed that I am missing?


#2

You need to create a tooltip window and have that available. Look in the juce docs. It used to be quite clear.

Bruce


#3

Stupid simple when you know. Thanks Bruce