On Sat, Feb 14, 2009 at 2:02 PM, Jean-Nicolas Jolivet
<[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to