nsscroller

How to use iTunes like scrollbars

Hi, what is the best way to display iTunes like scrollers in Leopard? Is there a 'system call' to change the look and feel of scrollers in cocoa or carbon? ...

NSScroller graphical glitches/lag

Hi, I have the following NSScroller subclass that creates a scroll bar with a rounded white knob and no arrows/slot (background): @implementation IGScrollerVertical - (void)drawKnob { NSRect knobRect = [self rectForPart:NSScrollerKnob]; NSRect newRect = NSMakeRect(knobRect.origin.x, knobRect.origin.y, knobRect.size.width - 4, ...

Subclassing NSScroller, how to get rid of the white square in the lower right corner?

I've created an iTunes like subclass of NSScroller, however if both the horizontal and vertical scrollers are visible in an NSScrollView or NSTableView I'm left with an ugly white square in the lower right corner. Anyone has a clue on where to add my custom drawing to fill that in with something prettier? ...

how to customize NSTokenField like in "To/ CC" fields in mac mail?

Hi all, I am able to work with NSTokenField, it is easy to use.. but I want your suggestions on how can I customize it just like it is in "To/ CC" fields in mac mail ie. when no. of tokens in a token field increases height of "To" field gets increased to a certain limit then a vertical scroller starts appearing! By default when we use...

Custom NSScroller issues

I'm trying to subclass NSScroller in order to draw my own scroller knob. To do this, I've subclassex NSScrollView and usex the following code to instantiate my custom NSScrollers: - (void)awakeFromNib; { NSRect horizontalScrollerFrame = [[self horizontalScroller] frame]; NSRect verticalScrollerFrame = [[self verticalScroller] fr...

How to remove square drawn around window resize handle in an NSScrollview?

I have an NSScrollview that takes up an entire window. The scrollview has a vertical scrollbar but no horizontal scrollbar. The window color is gray. The window is resizable. Cocoa automatically draws a white square with a light gray border around the window's resize handle (right below the bottom of the vertical scroller). I would li...

How do I increase the width of an NSScroller in a WebView

I am developing a web browser for a touch-screen kiosk and the scrollbars on the WebView are impractically small for being able to scroll using them on a touch-screen. Is there anyway to increase the size of them? I can get a reference to the vertical scroller using [[[[[webView mainFrame] frameView] documentView] enclosingScrollView] ...