Use controlBackgroundColor instead of lightGrayColor. Patch by Matt

Rice (matt@vespertine.pc.ashlandfiber.net).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16539 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2003-04-25 22:51:02 +00:00
parent 188be4b3e1
commit 76385367ad

View file

@ -468,7 +468,7 @@ makeScrollViewWithRect(NSRect rect)
NSScrollView *scroll = [[NSScrollView alloc]initWithFrame: rect];
[scroll setBorderType: NSLineBorder];
[scroll setBackgroundColor: [NSColor lightGrayColor]];
[scroll setBackgroundColor: [NSColor controlBackgroundColor]];
[scroll setHasHorizontalScroller: YES];
[scroll setHasVerticalScroller: YES];
[scroll setScrollsDynamically: YES];
@ -596,7 +596,7 @@ setControl(NSView* content, id control, NSString *title)
*/
[messageField setBezeled: NO];
[messageField setDrawsBackground: YES];
[messageField setBackgroundColor: [NSColor lightGrayColor]];
[messageField setBackgroundColor: [NSColor controlBackgroundColor]];
[messageField setAlignment: NSCenterTextAlignment];
[messageField setStringValue: @""];
[messageField setFont: MessageFont];