Improve drawing with themes and cleanup.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2007-02-20 22:04:45 +00:00
parent c3fb754bc2
commit 51cb07957d
4 changed files with 281 additions and 241 deletions

View file

@ -406,8 +406,7 @@ setControl(NSView* content, id control, NSString *title)
be selectable for a copy-and-paste. Hence, setSelectable: YES.
*/
[messageField setBezeled: NO];
[messageField setDrawsBackground: YES];
[messageField setBackgroundColor: [NSColor controlBackgroundColor]];
[messageField setDrawsBackground: NO];
[messageField setAlignment: NSCenterTextAlignment];
[messageField setStringValue: @""];
[messageField setFont: MessageFont];