Re: NSTextField's subclass...
Re: NSTextField's subclass...
- Subject: Re: NSTextField's subclass...
- From: Kyle Sluder <email@hidden>
- Date: Sat, 14 Feb 2009 17:14:56 -0500
On Sat, Feb 14, 2009 at 2:02 PM, Jean-Nicolas Jolivet
<email@hidden> wrote:
> I'm working on an NSTextField subclass (basically I need to change the
> TextField's appearance so it fits with an HUD style window)
You shouldn't need to re-implement the text drawing. Just set the
appropriate attributes and let NSTextField's implementation deal with
it. Have you tried only using a custom NSTextFieldCell and overriding
-drawWithFrame:inView: instead? Should be a lot less work.
--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