I’m trying to set the look and feel of the tool tip window on a slider by overriding the drawTooltip function but it doesn’t appear to be working for me. I’m problem missing something silly but what?
My look and feel class:
class TestLAF : public LookAndFeel_V2
{
public:
TestLAF() {}
~TestLAF() {}
void drawTooltip(Graphics&g, const String& text, int width, int height) override
{
//Just making the window bright magenta for now
g.fillAll(Colours::magenta);
}
};
Setting my look and feel class in the juce demo which I’ve edited to add example tooltips to all sliders:
TestLAF* tlaf = new TestLAF();
addLookAndFeel(tlaf, "Test Look and Feel");
setupTestLookAndFeelColours(*tlaf);
The result is still the default tooltip look