Re: NSTableView cell's drawing backgrounds
Re: NSTableView cell's drawing backgrounds
- Subject: Re: NSTableView cell's drawing backgrounds
- From: j o a r <email@hidden>
- Date: Sat, 12 Oct 2002 12:16:25 +0200
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.