Hi!

Under Mac OS X 10.5 I wrote an application with an NSScrollView containing a custom view. The NSScrollView was composed using IB and the "autohidesScrollers" option checked. As long as the content fits into the NSScrollView the scrollers were hidden. If the NSClipView was zoomed (using scaleUnitSquareToSize) to a size larger than the NSScrollView the scrollers became visible. Life was easy ...

Yesterday I updated to Snow Leopard and the behaviour changed:

When zoomin in the scrollers remain invisible! I can scroll (e. g. using the scrollball of my mouse), but the scrollers aren't shown. And now something really strange (at least for me): After resizing the window the scrollers appear!

I already tried to send needsDisplay:YES to all subviews and checked the scrollers properties of the NSScrollView: hasVerticalScrollers / hasHorizontalScroller / autohidesScrollers are all set.

My current bypass is to show the scroller always by setAutohidesScrollers:NO, but I'd like to understand what causes the problem.

Matthias
_______________________________________________

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 arch...@mail-archive.com

Reply via email to