Hi all, I am creating a subclass of NSScroller so that I can add an accessory 
view. I have worked out the position to add it, and added it as a subview, but 
it is never drawn.

I have overridden the rectForPart: method to adjust the scroller size, and that 
leaves the gap as it should.

I overrode the drawSelf: method and got it to draw the frame of the accessory 
view, to make sure it was positioned correctly, and it drew in the right place.

Any ideas what I might be missing? Has anybody successfully added a subview to 
an NSScroller?


Thanks

Gideon







_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to