Re: NSTableView - Alternating blue and white background
Re: NSTableView - Alternating blue and white background
- Subject: Re: NSTableView - Alternating blue and white background
- From: "Erik J. Barzeski" <email@hidden>
- Date: Tue, 17 Dec 2002 10:04:34 -0500
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.
Overriding the table cell drawing method is what we had to use in MailDrop.
--
Best wishes,
Erik J. Barzeski
Rules? We don't have rules. We're trying to accomplish something!
###################################################################
Email: erik@(anything below) AIM: iacas
http://iacas.org http://weims.net
http://techstra.net http://barzeski.com
http://cocoadevcentral.com http://soundsetcentral.com
http://freshlysqueezedsoftware.com http://applescriptcentral.com
###################################################################
_______________________________________________
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.