Hello Willem, After few hours here is an updated patch to NSMenuView. Some explanations: sizeToFit issues: - made first attempt to cleanup the method; - 15 extra pixels (for close button) added only for submenus; - extra _horizontalEdgePad removed; close button issues: - created and implemented CloseButton class; - override acceptsFirstResponder and return NO to avoid drawing dotted rectangle; PS: I don't resend images that i've sent in previous mail. I can send it anytime. -- Serg Stoyan
Attachment:
NSMenuView.m.patch
Description: Binary data