Minor menu adjustments.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24601 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-02-16 11:33:53 +00:00
parent c20c328da9
commit 054846e3ea
3 changed files with 20 additions and 4 deletions

View file

@ -132,7 +132,7 @@ _addLeftBorderOffsetToRect(NSRect aRect)
if (height == 0.0)
{
NSFont *font = [NSFont menuFontOfSize: 0.0];
NSFont *font = [NSFont menuBarFontOfSize: 0.0];
height = [font boundingRectForFont].size.height;
if (height < 22)
@ -911,8 +911,6 @@ _addLeftBorderOffsetToRect(NSRect aRect)
aRect = GSIArrayItemAtIndex(cellRects, index).ext;
/* FIXME: handle vertical case? */
return aRect.rect;
}
else