mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:41:31 +00:00
Make code a little easier to read (and a tiny bit more efficient).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27452 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c2dc1e5647
commit
3217c7304a
7 changed files with 269 additions and 252 deletions
|
@ -1019,7 +1019,7 @@ static NSImage *_pbc_image[5];
|
|||
s.width += 4; /* Right border to image (border included) */
|
||||
|
||||
/* (vertical) border: */
|
||||
s.height += 2 * (_sizeForBorderType (NSBezelBorder).height);
|
||||
s.height += 2 * [[GSTheme theme] sizeForBorderType: NSBezelBorder].height;
|
||||
|
||||
/* Spacing between border and inside: */
|
||||
s.height += 2 * 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue