Re: Image + Text NSCell subclass
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