mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
* 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:
parent
56dc23f173
commit
5342495663
2 changed files with 12 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue