mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:30:48 +00:00
centerScanRect button to avoid blurring
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34693 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9635fb6007
commit
e631fa73be
2 changed files with 12 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<abstract>Theme management utility</abstract>
|
||||
|
||||
Copyright (C) 2008 Free Software Foundation, Inc.
|
||||
Copyright (C) 2008-2012 Free Software Foundation, Inc.
|
||||
|
||||
Author: Richard Frith-Macdonald <rfm@gnu.org>
|
||||
Date: 2007-2008
|
||||
|
@ -200,6 +200,7 @@ static GSThemePanel *sharedPanel = nil;
|
|||
frame = [button frame];
|
||||
frame.origin.x = ([bottomView frame].size.width - frame.size.width) / 2;
|
||||
frame.origin.y = ([bottomView frame].size.height - frame.size.height) / 2;
|
||||
frame = [bottomView centerScanRect: frame];
|
||||
[button setFrame: frame];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue