Update button image inset values

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38891 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2015-08-16 20:57:24 +00:00
parent a77f9f2883
commit d87d3066ff

View file

@ -1017,7 +1017,7 @@ typedef struct _GSButtonCellFlags
// Make sure image does not exceed or touch our frame...
// Not the best solution so have at it if you have a better one...
if ([self imagePosition] == NSImageOnly)
cellFrame = NSInsetRect(cellFrame, 2, 2);
cellFrame = NSInsetRect(cellFrame, 4, 4);
size = [self _scaleImageWithSize: [imageToDisplay size]
toFitInSize: cellFrame.size