Re: NSTableView cell's drawing backgrounds
Re: NSTableView cell's drawing backgrounds
- Subject: Re: NSTableView cell's drawing backgrounds
- From: Dan Wood <email@hidden>
- Date: Mon, 14 Oct 2002 09:30:04 -0700
I have had similar issues, and I'm able to solve it by setting the
existing cell to not draw its background. I think it's a bug, but I
haven't filed it yet....
On Saturday, October 12, 2002, at 03:16 AM, j o a r wrote:
You can fix this by specifying a plain text cell type for the column
in question, something like this:
- (void) awakeFromNib
{
[tableColumn setDataCell: [[[NSCell alloc] initTextCell: @""]
autorelease]];
}
I think, but I'm not sure, that Apple sometimes use some custom cell
type for the table view - perhaps for the resizable columns - that
always paints a white background before drawing.
j o a r
On Saturday, Oct 12, 2002, at 11:51 Europe/Stockholm, Phillip
Hutchings wrote:
The problem is that, while the first two columns draw the background
normally, the 3 new columns are drawing solid white backgrounds on
the cells, and the blue stripes are showing through where the grid
would be. I've confirmed the problem by setting the table's
background in InterfaceBuilder, the first two columns are solid
colour (in this case peach), but the new 3 look like they have a
peach grid on.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X:
http://www.karelia.com/watson/
I
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.