LinearBar slider with no value display? (solved)


#1

I’d want only “gallons” displayed here without the actual value.
Is there a way to set this directly or would I need to override some method ?


#2

What you are seeing is the normal Slider textbox (a Label). That’s why I think it uses the Slider::valueToText() method. Overriding this should do the trick.

HTH


#3

Overriding Slider::getTextFromValue() did the trick, thanks.