• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSScrollView: Scrollers invisible under Mac OS X 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
      • From: Kyle Sluder <email@hidden>
    • Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
      • From: Matthias Arndt <email@hidden>
    • Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: contextual menu plugin example in cocoa
  • Next by Date: Re: learning the NSView structure of an app?
  • Previous by thread: Best place to ask about event taps?
  • Next by thread: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Index(es):
    • Date
    • Thread