On 05/01/2013, at 1:08 PM, Andy Lee <[email protected]> wrote: > Put this all together and clearly the document view's visibleRect does not > include any of the area occupied by the scroll bars. > > But maybe I am answering the wrong question, in which case... never mind.
I understood the question to mean what you thought as well. But while the visibleRect does not include the area occupied by the scroll bars, it will change according to whether the scroll bars are shown or hidden. If they're hidden, the clip view expands to take up the room the scrollbars used to occupy, and so the area of the content view gets larger, along with the visibleRect. This must be true since more content is revealed when scrollbars hide (otherwise why do it?). That's my understanding. It would be easily verified with a simple test case. --Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
