Re: NSTableView - Alternating blue and white background
Re: NSTableView - Alternating blue and white background
- Subject: Re: NSTableView - Alternating blue and white background
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 17 Dec 2002 17:19:02 +0100
On mardi, dic 17, 2002, at 16:04 Europe/Paris, Erik J. Barzeski wrote:
On 12/17/02 9:09am, "email@hidden"
<email@hidden> wrote:
One solution is described in some Mac Tech articles written by Dan
Wood. The code is available on his web site and IIRC, if you search
the
archive you should find a post indicating the URL of the source codes.
Unfortunately, this method is subject to rounding errors, so if you
expect
to have a few hundred (or more) rows in the table view, eventually the
colors won't line up. You'll have a line that's half blue, half white,
etc.
Interesting. With how many lines are you seeing this side effect? I'm
using another method similar to that one so I may be affected by this
bug too. I tested with a hundred cells or so and didn't see this.
Overriding the table cell drawing method is what we had to use in
MailDrop.
But when the table is empty, there is no stripped background?
_______________________________________________
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.