resizing NSCollectionView enclosed view items
resizing NSCollectionView enclosed view items
- Subject: resizing NSCollectionView enclosed view items
- From: Nicolas Berloquin <email@hidden>
- Date: Sun, 27 Dec 2009 13:13:18 +0100
Hi !
I'm trying to resize the items displayed inside an NSCollectionView.
I'm not trying to be too fancy, I'm fine if they're all the same size...
There are two methods that seem to indicate that resizing should be taken
into account
(setMin/MaxItemSize), but when I setFrameSize on the "prototype" NSView (not
the item prototype)
nothing happens. I tried sending setNeedsDisplay to the collectionView, with
no effect.
And I can't see any method in any of the collectionView hierarchy that would
tell it to
either resize the enclosed views, or that they have changed size.
Is the NSCollectionView halfway built ? (cf setMin/max)
Am I missing something ?
thanks !
_______________________________________________
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