Removed ugly 17 pixels added to title width when computing menu sizes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15765 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2003-01-30 03:03:51 +00:00
parent f48f870b20
commit b9f8608224

View file

@ -435,8 +435,7 @@ _addLeftBorderOffsetToRect(NSRect aRect, BOOL isHorizontal)
{
unsigned i;
unsigned howMany = [_itemCells count];
float neededImageAndTitleWidth = [_font widthOfString:
[_menu title]] + 17;
float neededImageAndTitleWidth = [_font widthOfString: [_menu title]];
float neededKeyEquivalentWidth = 0.0;
float neededStateImageWidth = 0.0;
float accumulatedOffset = 0.0;