How to style a Slider's PopupDisplay?


#1

Is there no way to style a slider’s popup display? I can’t seem to find any hooks or LookAndFeel methods.


#2

the PopupDisplayComponent class is in juce_Slider.cpp. it’s a BubbleComponent, so overriding drawBubble() should work.

You should also be able to change the text colour by changing the slider’s TooltipWindow::textColourId, and the font by overriding getSliderPopupFont in your slider’s lookAndFeel


#3

That was it. Thank you!