From d7874be6bca1f9e44a4dac9fed9b4df0cd2438f2 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Thu, 13 Jan 2000 23:06:05 +0000 Subject: [PATCH] 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 --- Source/NSBrowserCell.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/NSBrowserCell.m b/Source/NSBrowserCell.m index e5017d7b5..4606791e0 100644 --- a/Source/NSBrowserCell.m +++ b/Source/NSBrowserCell.m @@ -310,6 +310,10 @@ static NSFont *_leafFont; 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 if ((_cell.type == NSImageCellType)