I have a NSCollectionView inside of NSScrollView inside of a NSSplitView. The CollectionView contains NSImageViews. Everything works fine, but the CollectionView is clipped (but without scroll bars).
This is the result:
(There are 5 sections. Section 1 has one image. Section 2 (clipped) has two images. Section 3 (not visible) has three images and so on).
I can't understand why some of the CollectionView's content is cut off. When I select the CollectionView, there are "resize squares" (what is the name of this little squares?), but they are inactive:
When I select the CollectionViewFlowLayout I can see exactly the area that is visible in the running app:
I can't unterstand that behaviour:
- Why is the CollectionView smaller than the Area of the ScrollView?
- And why are there no scroll bars?
How can I get the CollectionView to display all the images completely?