I'm using an NSScrollView in my Cocoa application, and I want to customize the length of the horizontal scroller. The content of the scroll view is broken up into two main areas: a fixed-width area on the left and a dynamic-width area on the right. The left area only scrolls vertically -- it stays fixed on the left side of the view as the user scrolls left and right. Here's a screenshot of the view being scrolled:
http://jarodlong.com/dropbox/nsscroller_issue.png
I don't want the horizontal scroller to overlap the fixed area on the left. It should be confined to the area on the right.
Is there any way to do this without subclassing NSScrollView? I'd really prefer to not have to subclass, but if it's necessary, what should I look into when doing so?
I've tried just setting the frame of the horizontal scroller, but I think NSScrollView is constantly sizing the scroller to fit the entire area.