• 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
Re: NSScrollView automatically changes scroller styles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView automatically changes scroller styles?


  • Subject: Re: NSScrollView automatically changes scroller styles?
  • From: Raleigh Ledet <email@hidden>
  • Date: Fri, 30 Mar 2012 11:10:25 -0700

NSScrollView does various checks to see if the App is trying to put placards in the scroller area. If NSScrollView thinks there are placards, then it reverts back to legacy scrollers for compatibility. Some apps have been known to do this via a sibling view instead of a subview. This is why it intermittently happens during your animation as your sibling views momentarily overlap.

-raleigh

On Mar 27, 2012, at 2:03 PM, Nick Zitzmann <email@hidden> wrote:

>
> On Mar 27, 2012, at 2:09 PM, Nick Zitzmann wrote:
>
>> I've searched around but didn't see anything relevant. Why would an NSScrollView suddenly change its scroller style behind the application's back during a resize?
>
>
> I still wish I knew why this was happening, but I did find a workaround on my own in case anyone finds this in the archives: My code was using the Leopard animation proxy API to animate resizing a scroll view at the same time that a neighboring view was being resized into view by the same API. I took that out and used the older NSViewAnimation class to animate both views into place, and then the problem went away. :\
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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 automatically changes scroller styles?
      • From: Nick Zitzmann <email@hidden>
References: 
 >NSScrollView automatically changes scroller styles? (From: Nick Zitzmann <email@hidden>)
 >Re: NSScrollView automatically changes scroller styles? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Getting the best frame rate for NSView drawing
  • Next by Date: Re: Can't receive a scrollWheel message in a PDFView subclass
  • Previous by thread: Re: NSScrollView automatically changes scroller styles?
  • Next by thread: Re: NSScrollView automatically changes scroller styles?
  • Index(es):
    • Date
    • Thread