# Change size of BubbleComponent for Slider

**URL:** <https://forum.juce.com/t/change-size-of-bubblecomponent-for-slider/46650>\
**Category:** General JUCE discussion\
**Created:** [June 24, 2021, 5:26pm UTC](https://forum.juce.com/t/change-size-of-bubblecomponent-for-slider/46650 "2021-06-24T17:26:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TheWaveWarden](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thewavewarden/32/13708_2.png) [@TheWaveWarden](https://forum.juce.com/u/TheWaveWarden)\
**Post date:** [June 30, 2021, 7:11pm UTC](https://forum.juce.com/t/change-size-of-bubblecomponent-for-slider/46650/2 "2021-06-30T19:11:37Z")

</div>

Upon further research, I came across this feature request:

> [@FR: make the bubble component used for the Slider::popup display customizable](https://forum.juce.com/t/fr-make-the-bubble-component-used-for-the-slider-popup-display-customizable/33823):
>
> Right now we can only override its “paint” function but we have almost no control over its size or layout. A simple Rectangle\<int\> getSliderPopupLayout (Slider&) callback in the LAF would be enough. It could return a “Rectangle” relative to its Slider. We would like to make the popup display a minimum width to make it visually more stable in case of drastic value changes. Right now the popup changes it’s width dramatically and that simply looks ugly.

So I guess I’m on my own.

---

_[View the full topic](https://forum.juce.com/t/change-size-of-bubblecomponent-for-slider/46650)._
