Re: Optimal height for WebView
Re: Optimal height for WebView
- Subject: Re: Optimal height for WebView
- From: Mike Abdullah <email@hidden>
- Date: Fri, 04 Jan 2013 18:40:34 +0000
On 4 Jan 2013, at 18:12, Eric Gorr <email@hidden> wrote:
> Good point Mike.
>
> However, after it has completed the layout, is it possible to determine the height of the content? If so, i could probably work with that information.
>
> But, I would still think it was possible to provide a method with a fixed width, have it perform a layout, and return the height - that is essentially what the stackoverflow solution does, just in a rather convoluted way.
Well you've got the whole DOM API to play with. I'd have a play around with computed style etc. to see if you can pull out a useful figure.
_______________________________________________
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