Fix NSButtonCell size calculations. Rename xDist and yDist.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19814 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
alexm 2004-08-02 14:36:09 +00:00
parent 6454346206
commit cb93530d65
5 changed files with 123 additions and 121 deletions

View file

@ -555,7 +555,7 @@ _addLeftBorderOffsetToRect(NSRect aRect)
case NSImageLeft:
case NSImageRight:
anImageAndTitleWidth = anImageWidth + aTitleWidth + xDist;
anImageAndTitleWidth = anImageWidth + aTitleWidth + GSCellTextImageXDist;
break;
case NSImageBelow: