Slider Textbox Colours when Editing


#1

Hello,

I have a subclass of Slider. I am trying to set it's textbox colour in the constructor using:

setColour(Slider::ColourIds::textBoxTextColourId, Colours::white);

 

It is not changing the colour of the editable textbox. I'm sure I'm missing something here.

EDIT:

This has something to do with my override for LookAndFeel method createSliderTextBox. This method returns a label so to me it seemed unrelated to the textBox. I am just not going to override this method in my LookAndFeel.

 

Thank you,

Mark


#2

This thread helped me out!

http://www.juce.com/forum/topic/slider-textbox-highlight-question