• 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: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing


  • Subject: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 31 May 2009 16:27:30 -0700

On Sun, May 31, 2009 at 4:04 PM, Erg Consultant
<email@hidden> wrote:
> Because that is how code posted in the archives says to do it.

Where is this code?  In any event, it's wrong.  It's a convenient
shortcut if NSBrowserCell draws the way you want it to, but obviously
it doesn't.

> If I use NSImageCell or NSTextFieldCell (which I've tried), the icons never show up. Those work for NSTableView icons but not NSOutlineView icons.

That's why I said you need to use your own cell class.  You can make
one that simply uses a "child" NSImageCell and "child" NSTextCell to
do its drawing.

--Kyle Sluder
_______________________________________________

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

References: 
 >NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing (From: Erg Consultant <email@hidden>)
 >Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing (From: Kyle Sluder <email@hidden>)
 >Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing (From: Erg Consultant <email@hidden>)

  • Prev by Date: Re: NSAttributedString -size Crash
  • Next by Date: Re: NSAttributedString -size Crash
  • Previous by thread: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
  • Next by thread: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
  • Index(es):
    • Date
    • Thread