PopupMenu colour and LookAndFeel

I wondered why the PopupMenu does not follow the usual pattern of setColour(colourId, …). You will need to create a custom LookAndFeel object to be able to set individual colours per menu instance. Then the LookAndFeel methods for drawing the popup menu don’t get the menu passed as argument, which makes it difficult to use other means to accomplish colour per menu instance.

1 Like