I'm implementing a scrollable pane and have come across to slightly weird issues with NSScroller, leading to me wondering whether I'm going about this the wrong way...

1. The thumb proportion can only be set by setFloatValue:knobProportion: method which is deprecated in 10.5. Is there any supported, non deprecated way to achieve this?

2. There is no direct way to set the orientation of the scroller - as far as I know, I have to specify an indicative frame rectangle in initWithFrame:, and NSScroller infers whether it is vertical or horizontal from that. I'm not aware of a way to specify orientation other than init.

At the moment things are working well, but I'd be interested to hear if I'm missing the point here or if there are more appropriate ways to achieve the above.

Thanks
Rua HM.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to