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 <[EMAIL PROTECTED]>


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


OK ... I added that.




_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to