* Source/NSBrowser.m: Make sure that the matrix used in the

browser draws its cell backgrounds properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29598 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-02-13 00:42:13 +00:00
parent 56dc23f173
commit 5342495663
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-02-12 19:44-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSBrowser.m: Make sure that the matrix used in the
browser draws its cell backgrounds properly.
2010-02-12 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSMenuView.m (-isOpaque): Return NO from isOpaque,

View file

@ -3074,6 +3074,13 @@ static NSTextFieldCell *titleCell;
[matrix setIntercellSpacing: matrixIntercellSpace];
[matrix setAllowsEmptySelection: _allowsEmptySelection];
[matrix setAutoscroll: YES];
// Set up background colors.
[matrix setBackgroundColor: [NSColor controlBackgroundColor]];
[matrix setDrawsBackground: YES];
[matrix setCellBackgroundColor: [NSColor controlBackgroundColor]];
[matrix setDrawsCellBackground: YES];
if (!_allowsMultipleSelection)
{
[matrix setMode: NSRadioModeMatrix];