On Sat, Feb 14, 2009 at 2:02 PM, Jean-Nicolas Jolivet <silver...@videotron.ca> 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com