mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:20:51 +00:00
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:
parent
708a9784ad
commit
d7874be6bc
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue