mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
a77f9f2883
commit
d87d3066ff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue