• 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
Resizing NSCollectionViewItem's view to fit NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resizing NSCollectionViewItem's view to fit NSTextField


  • Subject: Resizing NSCollectionViewItem's view to fit NSTextField
  • From: Vladimir Pouzanov <email@hidden>
  • Date: Thu, 19 Feb 2009 23:32:16 +0200

Hi all,

is there any way to make a NSTextField autoresize to fit all its content (and automatically resize NSView of collection item)?

I have an application that loads a series of messages for network (message text is stored as short preview and fits pre-defined NSTextField size). Later I want to fetch additional text for messages and fit it into same NSTextField, but now it might not fit. I store everything in NSArray of NSDictionaries (getting a plist xml from web) so I attached all this to NSCollectionView through bindings.

Any hints how can I solve this problem?

--
Sincerely,
Vladimir "Farcaller" Pouzanov





_______________________________________________

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


  • Prev by Date: performance of UIControls
  • Next by Date: Re: Need recommendations for best way to build a custom view
  • Previous by thread: Re: performance of UIControls
  • Next by thread: How to re-create Finders File Copy
  • Index(es):
    • Date
    • Thread