NSScrollView: Scrollers invisible under Mac OS X 10.6
NSScrollView: Scrollers invisible under Mac OS X 10.6
- Subject: NSScrollView: Scrollers invisible under Mac OS X 10.6
- From: Matthias Arndt <email@hidden>
- Date: Tue, 1 Sep 2009 21:38:36 +0200
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 (email@hidden)
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:
This email sent to email@hidden