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:
FredKiefer 2003-04-25 22:51:02 +00:00
parent f73cdb70ca
commit 9f5d0e9ddc

View file

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