0
votes

I have a NSScrollView, which has NSClipView and vertical/horizontal NSScrollers in it.
Now I want to change the height of the vertical scroller so that it occupies only the top half portion of the scroll view. I can not change the height from the size inspector. I tried changing the frame. It didn't work either.
Can someone help me get through this problem? Thankyou in advance!

1
You need to provide more information.trojanfoe
Override NSScrollView.tile(), call super and adjust the frame of the scroller.Willeke
Can you use NSScrollView's scrollerInsets property?Carl Lindberg

1 Answers

0
votes

Since OS X 10.10, NSScrollView has a scrollerInsets property which should be able to position the scroller differently than the scroll view itself, if wanted.