# How to style a Slider's PopupDisplay?

**URL:** <https://forum.juce.com/t/how-to-style-a-sliders-popupdisplay/18752>\
**Category:** General JUCE discussion\
**Created:** [August 17, 2016, 6:12am UTC](https://forum.juce.com/t/how-to-style-a-sliders-popupdisplay/18752 "2016-08-17T06:12:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [August 17, 2016, 6:12am UTC](https://forum.juce.com/t/how-to-style-a-sliders-popupdisplay/18752/1 "2016-08-17T06:12:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lalala](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lalala/32/8577_2.png) [@lalala](https://forum.juce.com/u/lalala)\
**Post date:** [August 17, 2016, 7:51am UTC](https://forum.juce.com/t/how-to-style-a-sliders-popupdisplay/18752/2 "2016-08-17T07:51:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [August 17, 2016, 8:02am UTC](https://forum.juce.com/t/how-to-style-a-sliders-popupdisplay/18752/3 "2016-08-17T08:02:18Z")

</div>

That was it. Thank you!
