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 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]