Ohh sorry! You’re right @daniel !
I was using your Foleys Look and Feel and I was trying to change the colours of the submenus, making them equal to the parent menus, by simply calling that:
Now I get that in normal situations (using the standard juce LookAndFeels) this wasn’t possible.
Just to clarify and learn from your suggestion.
By overriding the draw
withOptions method, I can get the
targetComponent() (that in my case is the ComboBox) and so get the targetComponent → findColour(ColourId) colour, that I can use to draw -text, separators, background- colours ?
Thank you very much @daniel and @reuk !