mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 04:50:47 +00:00
Make border of NSColorWell smaller to more closely match Cocoa metrics.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31633 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4f0e846a0a
commit
d056ebe739
2 changed files with 10 additions and 1 deletions
|
@ -1,8 +1,15 @@
|
|||
2010-11-16 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/GSThemeDrawing.m:
|
||||
Make border of NSColorWell smaller to more closely match Cocoa metrics. This makes a
|
||||
big difference in small color wells.
|
||||
|
||||
2010-11-16 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSDrawer.m:
|
||||
Ensure drawer is visible if parent window became visible since the drawer was opened.
|
||||
|
||||
|
||||
2010-11-13 Riccardo Mottola
|
||||
|
||||
* Images/common_DownloadFolder.tiff
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
#import "GNUstepGUI/GSToolbarView.h"
|
||||
#import "GNUstepGUI/GSTitleView.h"
|
||||
|
||||
// a border width of 5 gives a reasonable compromise between Cocoa metrics and looking good
|
||||
#define COLOR_WELL_BORDER_WIDTH 5.0
|
||||
|
||||
@implementation GSTheme (Drawing)
|
||||
|
||||
|
@ -911,7 +913,7 @@
|
|||
/*
|
||||
* Set an inset rect for the color area
|
||||
*/
|
||||
aRect = NSInsetRect(bounds, 8.0, 8.0);
|
||||
aRect = NSInsetRect(bounds, COLOR_WELL_BORDER_WIDTH, COLOR_WELL_BORDER_WIDTH);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue