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 00:02:23 +0200

Hello Michael,

> Hi Serg,
> 
> --- Serg Stoyan <stoyan@hologr.com> wrote:
> >
> >   This makes all menus wider because 15+4 pixels _always_ added.
> >   Attached patch (NSMenuView.m.patch) makes adding 10 pixels (why 10?
> >   got it in empiric way) only if neededImageAndTitleWidth not changed
> >   after cycling through the menu items (menu title string is wider
> >   than any menu items or there is no menu items at all).
> 
> Yeah, that is a problem. I like what you've done here... and 10 pixels is
> enough. I just grabbed the values out of the rect used to place the
> button, but this works well -- and it looks nice!

  Thanks for good words, but as Willem noticed, situatuion is not so 
  sunny. :(

> >   I've attached common_Close.tiff and common_CloseH.tiff. No changes
> >   needed to createButton at this point. My approach is to make images
> >   that looks like a bezeled and pushed hilghlighted button.
> 
> What did you use to make these images? I can't open any of them... Would
> you resend please?

  I've created it in Gimp and saved as TIFF with JPEG compression. I
  can see them with any GTK apps (gqview, Sylpheed mail client). Anyway
  these images are displayed in GNUstep.

> Thanks, I appreciate constructive criticism. ;)

  Whenever, wherever... ;)

-- 
Serg Stoyan




reply via email to

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