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:
Riccardo Mottola 2012-02-01 22:07:41 +00:00
parent cea7a7e137
commit 7f6bdeb0a2
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-01 Riccardo Mottola <rm@gnu.org>
* Source/GSThemePanel:
centerScanRect button to avoid blurring
2012-02-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSThemeInspector.m: Add missing include.
@ -134,6 +139,11 @@
ASSIGNCOPY for the contents. This fixes memory leak of last
commit.
2012-01-19 Riccardo Mottola <rm@gnu.org>
*Source/NSCell.m:
Add missing autoreleases.
2012-01-19 Riccardo Mottola <rm@gnu.org>
*Source/NSCell.m:

View file

@ -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