Change OnlineUnlockForm background colour?

Hi all,

Working on the authentication part of a plugin. I am following along with the relevant tutorial and created a Component class inheriting from the OnlineUnlockForm, which I am happy with. However, there is low contrast between the background colour and text colour, and I want to change the background colour (this will blend in better with the plugin itself). There doesn’t seem to be a juce::OnlineUnlockForm::backgroundColourId as there is for other component classes, so I have no idea what to put in for the colourId argument of Component::setColour. How can I go about changing the background colour?

Thanks,

SOLUTION: override the paint() function in the Component class and write g.fillAll(). I would have thought this would result in a solid color rectangle, but the text field and buttons were still drawn an top of it.