Custom NSTextField subclass and wrapping
Custom NSTextField subclass and wrapping
- Subject: Custom NSTextField subclass and wrapping
- From: Michael Bianco <email@hidden>
- Date: Wed, 1 Jun 2005 13:01:11 -0400
Ok, so heres my problem. I've made a customized NSTextField subclass
that implements the required methods to be a dragging destination.
That whole part works fine but what i am having trouble with is text
wrapping. When I place my textfield on a window in IB (right now i
drop the 'Custom View' box on and specify the custom class to be my
subclass of NSTextField, is their a better way of doing this?) the
text does not wrap like a normal NSTextField does when you have the
layout property on 'Scrollable'. I've looked around the documentation
but I cant find the API that would allow me to acomplish the same
wrapping as the 'layout scrollable' on the IB attributes panel. Any
ideas?
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden