<p>I am trying to create a custom subclass of NSScroller. I have created the class, and set it as the vertical scroller on an NSScrollView in IB. When I run my project, the <code>drawRect:</code> method is called for my subclass, so I know that it is properly connected.</p>

<p>Now, How do I change the width of my fancy new NSScroller? No matter what I do to its bounds and frame, it always wants to draw in a rectangle 15 pixels wide (the size of the default NSScroller).</p>

In your NSScroller subclass, you have to override scrollerWidth:
```
```
+(CGFloat)scrollerWidth
{
    return 30.0;
}
```
```
This is the value that NSScrollView uses to define the frame for your component when it sets it up.