Re: NSCollectionView horizontal scrolling problem
Re: NSCollectionView horizontal scrolling problem
- Subject: Re: NSCollectionView horizontal scrolling problem
- From: Lee Ann Rucker <email@hidden>
- Date: Sun, 26 Jan 2014 13:16:56 -0800 (PST)
- Thread-topic: NSCollectionView horizontal scrolling problem
It's been a while since I did this, but you may need to adjust setMinItemSize: too. collectionView likes to resize its frame to fit its contents and vice-versa; the frame size you set will not persist.
----- Original Message -----
From: "Livio Isaia" <email@hidden>
To: "Cocoa Dev List" <email@hidden>
Sent: Sunday, January 26, 2014 4:47:40 AM
Subject: NSCollectionView horizontal scrolling problem
Hi all,
I have a NSCollectionView that displays some NSView objects in one column only. Now I want to programmatically increase the width of one (or all) object to show more details in it, so:
[myObject setFrameSize:newSize];
[collectionView setFrameSize:newSize];
but the NSCollectionView doesn’t enable horizontal scrolling (of course I have NSScrollView->NSClipView->NSCollectionView).
Any idea on how to accomplish that?
Thank you all in advance,
best regards,
livio.
_______________________________________________
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
_______________________________________________
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