Slider Textbox Colours when Editing


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.


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,


This thread helped me out!