knownPluginList lookAndFeel


I’m trying to set a consistent look and feel across all aspects of my simple plugin host but KnownPluginList::addMenu() always adds an old school popup sub menu. I tried hacking the function so that the sub menu takes the same look and feel as the PopupMenu passed to it but noticed that the PopupMenu class doesn’t have any methods for retrieving its lookAndFeel. It’s not the end of the world, but it is a little frustrating when everything else is ‘new school’ apart from the list of available plugins which shows up as old school. Any ideas as to how I can get around this issue?


Answer: to set a global look and feel across all components use LookAndFeel::setDefaultLookAndFeel()! Sorry for the noise…