Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reset alternating row background color



On Jan 30, 2008, at 8:37 PM, Mitchell Livingston wrote:

I know how to emulate the alternating colors for existing rows (setting individual background colors), but how can I do this for empty cells (as in, rows past the last row)?

You will have to subclass NSTableView and override - drawBackgroundInClipRect:.


Jim


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >reset alternating row background color (From: Mitchell Livingston <email@hidden>)
 >Re: reset alternating row background color (From: Corbin Dunn <email@hidden>)
 >Re: reset alternating row background color (From: Mitchell Livingston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.