• 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: Image + Text NSCell subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image + Text NSCell subclass


  • Subject: Re: Image + Text NSCell subclass
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 4 Oct 2007 08:32:51 +0200


On mercredi, octobre 3, 2007, at 09:11 PM, Ben Lachman wrote:

I'm just about to write a subclass of NSCell for an outlineview/tableview that displays an icon and text and supports correct text editing, focus rings, etc. without messing with the image. This is for use in an sourcelist kind of thing. But I'm kind of surprised that there isn't already one of these floating around (that I could find). Any one know of one, or should I start subclassing?

BTW, other solutions include:

- a NSTextFieldCell with a NSAttributedString: poor inter-spacing solution

- a NSButtonCell: a solution sometimes used by Apple. IMHO It's not a good one because you can then click the icon.


_______________________________________________

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: 
 >Image + Text NSCell subclass (From: Ben Lachman <email@hidden>)

  • Prev by Date: Re: NSSavePanel's required/allowed types
  • Next by Date: Re: NSSavePanel's required/allowed types
  • Previous by thread: Re: Image + Text NSCell subclass
  • Next by thread: Distinguish between Directory and File
  • Index(es):
    • Date
    • Thread