Skip 2 points before drawing text

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5755 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2000-01-13 23:06:05 +00:00
parent 708a9784ad
commit d7874be6bc

View file

@ -310,6 +310,10 @@ static NSFont *_leafFont;
title_rect.size.width -= image_rect.size.width + 8; title_rect.size.width -= image_rect.size.width + 8;
} }
// Skip 2 points from the left border
title_rect.origin.x += 2;
title_rect.size.width -= 2;
// Draw the body of the cell // Draw the body of the cell
if ((_cell.type == NSImageCellType) if ((_cell.type == NSImageCellType)