Re: NSTokenField in NSScrollView
Re: NSTokenField in NSScrollView
- Subject: Re: NSTokenField in NSScrollView
- From: Alexander Cohen <email@hidden>
- Date: Fri, 26 Oct 2007 15:05:22 -0400
Yes, thats what im doing now, and it still does not respond correctly.
Maybe its just not made to work in a scrollView.
AC
On 26-Oct-07, at 2:19 PM, Aki Inoue wrote:
In that case, you can manually resize the field by tracking user's
editing actions via -controlTextDidChange:.
You have to specify setWraps:YES in order to prevent the field's own
scrolling behavior, of course.
Aki
On 2007/10/26, at 10:51, Alexander Cohen wrote:
I think the main problem is that the NSTokenField does not resize
depending on it's content. What im really looking for is a
NSTokenView subclassed from NSTextView instead of a NSTokenField
subclassed from a NSTextField.
AC
On 26-Oct-07, at 1:28 PM, Aki Inoue wrote:
It would be great if you can describe how it doesn't work.
Thanks,
Aki
On 2007/10/26, at 9:58, Alexander Cohen wrote:
I've been trying to get a NSTokenField to respond correctly in a
NSScrollView but it just does not want to work. In IB, i put an
NSTokenField on the window, then embed it in an NSScrollView. Is
there anything else i need to do? I've tried messing around with
some parameters but it's not working.
Any help would be appreciated.
thanks
AC
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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