• 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: Positioning document within gray area of a scroller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Positioning document within gray area of a scroller


  • Subject: Re: Positioning document within gray area of a scroller
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 28 Jun 2009 15:21:18 -0700

On Sun, Jun 28, 2009 at 2:28 PM,
Development<email@hidden> wrote:
> Has anyone been able to program this?

Try subclassing the NSScrollView's NSClipView.  I imagine the strategy
is quite similar to the one used when centering the document view
within the scroll view:
http://www.cocoadev.com/index.pl?CenteringInsideNSScrollView

--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

References: 
 >Positioning document within gray area of a scroller (From: Development <email@hidden>)

  • Prev by Date: Re: SOLUTION Placement of window using interface builder on different size displays
  • Next by Date: Re: Positioning document within gray area of a scroller
  • Previous by thread: Positioning document within gray area of a scroller
  • Next by thread: Re: Positioning document within gray area of a scroller
  • Index(es):
    • Date
    • Thread