mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
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:
parent
188be4b3e1
commit
76385367ad
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue