• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView - Alternating blue and white background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSTableView - Alternating blue and white background (From: "Erik J. Barzeski" <email@hidden>)

  • Prev by Date: NSTextField sizing to fit
  • Next by Date: Re: Breaking
  • Previous by thread: Re: NSTableView - Alternating blue and white background
  • Next by thread: Re: NSTableView - Alternating blue and white background
  • Index(es):
    • Date
    • Thread