Resizing NSCollectionViewItem's view to fit NSTextField
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