mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
use controlColor to match cocoa behaviour
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29712 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c2b6e412b
commit
a497bd0aa6
3 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-02-24 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSBrowser.m,
|
||||
* Source/NSMatrix.m: use controlColor for the background to match
|
||||
Cocoa behaviour.
|
||||
|
||||
2010-02-22 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSButtonCell.m (-setImagePosition): Never call NSCell's
|
||||
|
|
|
@ -3076,10 +3076,8 @@ static NSTextFieldCell *titleCell;
|
|||
[matrix setAutoscroll: YES];
|
||||
|
||||
// Set up background colors.
|
||||
[matrix setBackgroundColor: [NSColor controlBackgroundColor]];
|
||||
[matrix setBackgroundColor: [NSColor controlColor]];
|
||||
[matrix setDrawsBackground: YES];
|
||||
[matrix setCellBackgroundColor: [NSColor controlBackgroundColor]];
|
||||
[matrix setDrawsCellBackground: YES];
|
||||
|
||||
if (!_allowsMultipleSelection)
|
||||
{
|
||||
|
|
|
@ -311,9 +311,9 @@ static SEL getSel;
|
|||
[self setFrame: frameRect];
|
||||
|
||||
_tabKeyTraversesCells = YES;
|
||||
[self setBackgroundColor: [NSColor controlBackgroundColor]];
|
||||
[self setBackgroundColor: [NSColor controlColor]];
|
||||
[self setDrawsBackground: NO];
|
||||
[self setCellBackgroundColor: [NSColor controlBackgroundColor]];
|
||||
[self setCellBackgroundColor: [NSColor controlColor]];
|
||||
[self setDrawsCellBackground: NO];
|
||||
[self setSelectionByRect: YES];
|
||||
_dottedRow = _dottedColumn = -1;
|
||||
|
|
Loading…
Reference in a new issue