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.