• 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: Odd NSScroller behavior when clicking page dec/inc areas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd NSScroller behavior when clicking page dec/inc areas


  • Subject: Re: Odd NSScroller behavior when clicking page dec/inc areas
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 13 Sep 2013 12:07:53 -0700

On Fri, Sep 13, 2013, at 11:14 AM, Steve Mills wrote:

> What's up here? It sure smells like a bug.

It does, but it might be one you can work around by changing how you're
implementing scrolling.

If I understand correctly, you need to pin a pane of controls to the
edge of the viewport, and scroll the content underneath.

The typical way this is implemented in a Cocoa app is to move those
controls to a separate NSView that is a subview of your document view.
Listen for NSViewBoundsDidChangeNotification from the clip view, and set
the overlaid controls' view's frame such that it is pinned to the side
you desire.

--Kyle Sluder
_______________________________________________

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: Odd NSScroller behavior when clicking page dec/inc areas
      • From: Steve Mills <email@hidden>
References: 
 >Odd NSScroller behavior when clicking page dec/inc areas (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Helper tool
  • Next by Date: Re: Helper tool
  • Previous by thread: Odd NSScroller behavior when clicking page dec/inc areas
  • Next by thread: Re: Odd NSScroller behavior when clicking page dec/inc areas
  • Index(es):
    • Date
    • Thread