Re: NSTextField, drawing the text offset to the right in the field
Re: NSTextField, drawing the text offset to the right in the field
- Subject: Re: NSTextField, drawing the text offset to the right in the field
- From: jon <email@hidden>
- Date: Tue, 29 Sep 2009 20:06:08 -0600
ahh, that was it, thanks a lot, that made perfect sense once i
looked inside IB....
I was also surprised that IB knew about my custom cell class...
I was thinking code code code... and i just needed that shove in the
correct direction...
you made my day, after a very long day...
thanks,
Jon.
On Sep 29, 2009, at 7:58 PM, Kyle Sluder wrote:
+setCellClass: just tells the view "Hey next time you initialize
yourself, make a cell of this class." Since your ImageTextField
instance was created inside of IB, this is never going to happen.
Instead you need to change the class of the cell from within IB, under
the Identity inspector. It might be helpful to switch to the
hierarchical view so you can get easy access to the text field's cell.
_______________________________________________
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