I want to customize a NSMenu
with NSMenuItems
, so does it looks like the Apple Pro Apps.
But how can I customize a NSMenu
? There is no draw method to change the appearance.
If I set a NSView
to a NSMenuItem
, I can set the background color, but I will loose highlighting and menu handling. Furthermore the top and bottom cap of the NSMenu
cannot be customized.
I found only this hint, but unfortunately without code.
I would be very happy for some help!
The hard answer is, make your own, subclass NSMenu, NSMenuItem etc and manually handle the drawing, animations etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With