Hi there. I’m trying to remove the border from my popup menu, and it appears that the border size is not settable. In PopupMenu.cpp there’s a namespace, PopupMenuSettings, where the borderSize variable is set to 2. I was wondering if there could be a way to provide a custom border size. For example, adding a virtual method called getPopupMenuBorderSize() to the LookAndFeelMethods struct, where the default implementation returns 2.
I’ve added this to develop (b7a7563). You can override
getPopupMenuBorderSize() in your custom L&F to return a different border size.
Wow that was fast! Thanks a lot!