On Dec 28, 2016, at 20:26:52, Rob Petrovec <[email protected]> wrote:
> 
> You need to specify the scroll direction via -scrollDirection and return an 
> NSSize large enough for a scroll bar from -collectionViewContentSize.  Hope 
> that helps.

-scrollDirection is a method only available for NSCollectionViewFlowLayout. I 
said I'm using a custom layout class, which is a subclass of 
NSCollectionViewLayout. I also don't believe the size returned from 
-collectionViewContentSize should include space for scrollbars. The docs say 
"size of the contents". Scrollbars are not content.

--
Steve Mills
Drummer, Mac geek


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to