[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [semi-PATCH] menu title bar sizing & menu close button
From: |
Serg Stoyan |
Subject: |
Re: [semi-PATCH] menu title bar sizing & menu close button |
Date: |
Sat, 15 Mar 2003 03:32:30 +0200 |
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
NSMenuView.m.patch
Description: Binary data
Re: [semi-PATCH] menu title bar sizing & menu close button, Fred Kiefer, 2003/03/16