• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTokenField in NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Animated NSImage inside NSMenuItem
      • From: vance <email@hidden>
References: 
 >NSTokenField in NSScrollView (From: Alexander Cohen <email@hidden>)
 >Re: NSTokenField in NSScrollView (From: Aki Inoue <email@hidden>)
 >Re: NSTokenField in NSScrollView (From: Alexander Cohen <email@hidden>)
 >Re: NSTokenField in NSScrollView (From: Aki Inoue <email@hidden>)

  • Prev by Date: webView:didReceiveIcon:forFrame not called in Leopard
  • Next by Date: Animated NSImage inside NSMenuItem
  • Previous by thread: Re: NSTokenField in NSScrollView
  • Next by thread: Animated NSImage inside NSMenuItem
  • Index(es):
    • Date
    • Thread