Attaching a Label without setting its position


#1

Hi,

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 !


#2

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


#3

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