NSCollectionView custom layout enable scrolling
问题 I can't get scrolling both vertically and horizontally to work with a custom layout for NSCollectionView. According to the docs, in my subclass I return the `collectionViewContentSize' and if that is too big, scrolling is automatically enabled in the enclosing scroll view of the collection view. However, even if I order all elements in a horizontal row, only vertical scrolling is enabled. Here is a screenshot: http://i.stack.imgur.com/tMbCN.png Here is my layout code: import Cocoa class