Re: NSCollectionView horizontal scrolling problem
Re: NSCollectionView horizontal scrolling problem
- Subject: Re: NSCollectionView horizontal scrolling problem
- From: Jens Alfke <email@hidden>
- Date: Sun, 26 Jan 2014 09:30:55 -0800
On Jan 26, 2014, at 4:47 AM, Livio Isaia <email@hidden> wrote:
> but the NSCollectionView doesn’t enable horizontal scrolling (of course I have NSScrollView->NSClipView->NSCollectionView).
It's the scrollview that does the scrolling, not the collection view. I'll admit that getting scrollviews to work correctly has always been sort of a black art to me, but some things to check:
(1) You did enable horizontal scrolling on the scrollview in IB, right?
(2) Use logging or breakpoints to make sure that the collection view actually keeps the wider size after you're done resizing it; it might have auto-resize or auto-layout behavior that constrains or snaps it back to its original size.
—Jens
_______________________________________________
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