• 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: scroll bars and visible rect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scroll bars and visible rect


  • Subject: Re: scroll bars and visible rect
  • From: Graham Cox <email@hidden>
  • Date: Fri, 04 Jan 2013 14:18:27 +1100

You're confusing CAScrollLayer (Core Animation) with NSScrollView.

I *think* that NSScrollVIew's visible rect changes when the scroll bars are shown/hidden. That would stand to reason. Basing the size of some content on the visible rect sounds like a bad idea - you might sometimes use this to determine what parts of your content to draw or not draw, but not to determine what the content itself is.


--Graham



On 04/01/2013, at 1:23 PM, koko <email@hidden> wrote:

> I beg to differ with you all:


_______________________________________________

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: 
 >scroll bars and visible rect (From: koko <email@hidden>)
 >Re: scroll bars and visible rect (From: Mike Abdullah <email@hidden>)
 >Re: scroll bars and visible rect (From: koko <email@hidden>)
 >Re: scroll bars and visible rect (From: Kyle Sluder <email@hidden>)
 >Re: scroll bars and visible rect (From: koko <email@hidden>)

  • Prev by Date: Re: Custom initWithFrame?
  • Next by Date: Re: Editing multiple selections with bindings
  • Previous by thread: Re: scroll bars and visible rect
  • Next by thread: Re: scroll bars and visible rect
  • Index(es):
    • Date
    • Thread