On Jul 19, 2010, at 11:40 PM, Vijayakumar_Thota <vijayakumar_th...@mahindrasatyam.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com