bug-gnustep
[Top][All Lists]
Advanced

[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

Attachment: NSMenuView.m.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]