mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 09:00:56 +00:00
Set up correctly text color attributes when editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5148 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
29ac8fa334
commit
900e070d25
1 changed files with 6 additions and 2 deletions
|
@ -129,9 +129,13 @@
|
||||||
text_color = aColor;
|
text_color = aColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) setUpFieldEditorAttributes: (id)textObject
|
- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject
|
||||||
{
|
{
|
||||||
return nil;
|
textObject = [super setUpFieldEditorAttributes: textObject];
|
||||||
|
[textObject setDrawsBackground: draw_background];
|
||||||
|
[textObject setBackgroundColor: background_color];
|
||||||
|
[textObject setTextColor: text_color];
|
||||||
|
return textObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSColor *) textColor
|
- (NSColor *) textColor
|
||||||
|
|
Loading…
Reference in a new issue