mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 00:20:49 +00:00
Corretec bug #11887 by letting secure text field cells draw the background colour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81abfa70c7
commit
2d14cc4dfe
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-02-08 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSSecureTextField.m (-drawInteriorWithFrame:inView:):
|
||||||
|
Draw the background colour of the cell.
|
||||||
|
|
||||||
2005-02-07 Fred Kiefer <FredKiefer@gmx.de>
|
2005-02-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSTableView.m (-expandItem:expandChildren:,
|
* Source/NSTableView.m (-expandItem:expandChildren:,
|
||||||
|
|
|
@ -115,7 +115,13 @@
|
||||||
- (void) drawInteriorWithFrame: (NSRect)cellFrame
|
- (void) drawInteriorWithFrame: (NSRect)cellFrame
|
||||||
inView: (NSView *)controlView
|
inView: (NSView *)controlView
|
||||||
{
|
{
|
||||||
/* Do nothing. */
|
/* Draw background, then ... */
|
||||||
|
if (_textfieldcell_draws_background)
|
||||||
|
{
|
||||||
|
[_background_color set];
|
||||||
|
NSRectFill ([self drawingRectForBounds: cellFrame]);
|
||||||
|
}
|
||||||
|
/* .. do nothing. */
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject
|
- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue