0

I have a NSCollectionview inside my macOS application and I want to control the knob proportion of the vertical NSScroller.

As I am loading more and more item into my collection view asynchronous, the proportion of the scroller is changing frequently and does not represent how many items there will be in the end. So if the user begins to scroll before all items are loaded, the knob shrinks while he's scrolling.

How can I set the knob proportion to an initial size, so I can represent how big the NSCollectionView will be in the end?

Yakuhzi
  • 969
  • 6
  • 20

0 Answers0