• 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: Resizing of NSTokenField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing of NSTokenField


  • Subject: Re: Resizing of NSTokenField
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 20 Jul 2010 07:45:50 -0700

On Jul 19, 2010, at 11:40 PM, Vijayakumar_Thota <email@hidden> wrote:

> Dear List,
>
> Facing an issue in resizing of NSTokenField, while adding the tokens not by typing (Adding from the search list). The tokens from the beginning of second line(End of first line) are getting clipped.
>
> While adding the tokens manually (by typing) , the NSTokenField is getting resized properly.
>

You haven't asked a question. I will assume you meant to ask how you can resize the NSTokenField to fit its contents.

NSTextField is a subclass of NSControl. NSControl has a -sizeToFit method. Try using that.

--Kyle Sluder_______________________________________________

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

References: 
 >Resizing of NSTokenField (From: Vijayakumar_Thota <email@hidden>)

  • Prev by Date: Re: managing split view iPad
  • Next by Date: Re: managing split view iPad
  • Previous by thread: Resizing of NSTokenField
  • Next by thread: The error from -[NSManagedObjectContext executeFetchRequest:error:]
  • Index(es):
    • Date
    • Thread