Hello Michael, > Hi Serg, > > --- Serg Stoyan <[EMAIL PROTECTED]> 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 _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
