• 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: Erg Consultant <email@hidden>
  • Date: Sun, 31 May 2009 16:04:52 -0700 (PDT)

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.



________________________________
From: Kyle Sluder <email@hidden>
To: Erg Consultant <email@hidden>
Cc: email@hidden
Sent: Sunday, May 31, 2009 12:55:28 AM
Subject: Re: NSTableViewSelectionHighlightStyleSourceList interferes with  custom NSBrowserCell drawing

I guess my first question is, why are you using an NSBrowserCell for
this?  NSBrowserCell probably knows nothing about table view
highlighting styles, because its intended use is inside an NSMatrix
within an NSBrowser.

An image-and-text cell is not hard to create.  It can delegate its
drawing to an NSImageCell and NSTextFieldCell.

--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

  • Follow-Ups:
    • Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
      • From: Nathan Kinsinger <email@hidden>
    • Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
      • From: Kyle Sluder <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>)

  • Prev by Date: Re: [ NSSplitview ] -setAutosaveName
  • Next by Date: Problems choosing an encoding for Word generated html
  • Previous by thread: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
  • Next by thread: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
  • Index(es):
    • Date
    • Thread