Hi Kurt, I had the same problem. I ended up using:
[myScroller setEnabled:NO]; On 20/04/2011, at 9:38 PM, Kurt Sutter wrote: > Here's probably a stupid question, but I am unable to figure this out: > > NSScrollView on MacOS X 10.6 and before _hides_ the knob of a scroller when > its proportion becomes 1 or larger, i.e. when all of the view is visible > along the direction of the scroller and there is nothing to scroll. > > I have a custom view using its own scrollers (NSScroller) because > NSScrollView does not allow to do what I need. However, I am unable to make > the knob disappear when all of the view is visible along the scroller. I > have tried calling setKnobProportion: with values of 0, 1, 2 or -1, but the > knob is always there, with varying size. > > I guess I could override drawKnob, but that sounds hack-ish. > > Does anyone know what to do? > > Thanks for any advice in advance > > Kurt Sutter kind regards, Peter Zegelin http://www.fracturedsoftware.com Rondo - MIDI for your mac MacSimAVR - AVR microcontroller simulator for OS X _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
