bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix for #101879 menu title at wrong location


From: Richard Frith-Macdonald
Subject: Re: [PATCH] fix for #101879 menu title at wrong location
Date: Sat, 8 Mar 2003 11:58:10 +0000


On Saturday, March 8, 2003, at 10:37  am, Willem Rein Oudshoorn wrote:


This patch will calculate the position to draw the menu
title instead of using fixed offsets.  Fixed offsets
will draw the title at the wrong location if the height
of the menu title bar somehow does not fit very well
with the font that is being used.

I copied the logic of the calculation from the NSCell
code.  A better fix would probably be to rewrite
the NSMenuTitleView by being a cell.  But this will
work as well.


2003-03-08  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

        * Source/NSMenuView.m ([NSMenuWindowTitleView -drawRect:]):
        Centre drawing of title instead of using fixed offset.


OK ... I added that.





reply via email to

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