Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
- Subject: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
- From: Nathan Kinsinger <email@hidden>
- Date: Sun, 31 May 2009 19:10:55 -0600
On May 31, 2009, at 5:04 PM, Erg Consultant wrote:
Because that is how code posted in the archives says to do it.
If I use NSImageCell or NSTextFieldCell (which I've tried), the
icons never show up. Those work for NSTableView icons but not
NSOutlineView icons.
Have a look at the SourceView sample project, it has a custom
ImageAndTextCell class used in an NSOutlineView.
http://developer.apple.com/samplecode/SourceView/index.html
--Nathan
http://brotherbard.com/
_______________________________________________
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:
This email sent to email@hidden