Attaching a Label without setting its position


I’m working on an UI right now, and I’d like to attach the Label to my slider, but not setting the position to left or top, to the bottom or centredRight for example.
I’m using the Label::attachToComponent method

Thanks !

There is a look and feel method for that: SliderLayout Slider::LookAndFeelMethods::getSliderLayout (Slider&)

I didn’t know !
Thanks i’ll check that