• 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: scrolling content view resizes visibly but bounds and frame don't change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scrolling content view resizes visibly but bounds and frame don't change


  • Subject: Re: scrolling content view resizes visibly but bounds and frame don't change
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 11 Sep 2010 16:13:52 -0700

On Sep 11, 2010, at 14:34, Christopher Corbell wrote:

> However the basic issue still remains - even with the scrollView that the webView implements automagically, its contentView bounds do NOT change even when the visual content is clearly larger than the frame and the vertical scroller is present and adjusted properly.

Well, beats me. :)

However, I'll point out that in a NSScrollView, the *content* view does not change size as content is added. It's the *document* view that changes size. Remember that the document view is the whole thing, while the content view is just the part of it that you can currently see.

Also, if you look at figure 1 here:

	http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DisplayWebContent/Concepts/WebKitDesign.html

it's clear that the structure of the example page is such that the main frame's view is not a scroll view. Perhaps the view hierarchy of your page, and your content's location within it, is not what you assume.


_______________________________________________

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: 
 >scrolling content view resizes visibly but bounds and frame don't change (From: Christopher Corbell <email@hidden>)
 >Re: scrolling content view resizes visibly but bounds and frame don't change (From: Quincey Morris <email@hidden>)
 >Re: scrolling content view resizes visibly but bounds and frame don't change (From: Christopher Corbell <email@hidden>)

  • Prev by Date: Re: scrolling content view resizes visibly but bounds and frame don't change
  • Next by Date: Re: i5 & i7 auto graphics switching
  • Previous by thread: Re: scrolling content view resizes visibly but bounds and frame don't change
  • Next by thread: Re: core data structure?
  • Index(es):
    • Date
    • Thread