• 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: Resizing a WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing a WebView


  • Subject: Re: Resizing a WebView
  • From: "Mike O'Connor" <email@hidden>
  • Date: Wed, 15 Jun 2005 10:06:18 -0400


On Jun 15, 2005, at 1:22 AM, John Stiles wrote:

I'm not sure a web view has an optimum size.
Most real web pages have text that extends from one edge to the other (i.e. as you resize the window, the visible text area grows to match).
Some poorly-designed web pages have text that always consumes a fixed amount of horizontal space, but those pages are in the minority and there's not really a good way to identify them at all (or how much space they consume).

Safari seems to do it. For example it will zoom the window to a width based on the content it is showing. And Webview knows when to show scroll bars and how far to scroll them, so it must know the size of the content.


In my case, I'm not displaying general Web pages, but usually custom content in the form of a table with specific (but not known in advance) width and height.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Resizing a WebView
      • From: Tim Lucas <email@hidden>
    • Re: Resizing a WebView
      • From: John Stiles <email@hidden>
References: 
 >Resizing a WebView (From: "Mike O'Connor" <email@hidden>)
 >Re: Resizing a WebView (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Missing dockMenu Outlet
  • Next by Date: Re: Creating a subclass of an *unknown* object
  • Previous by thread: Re: Resizing a WebView
  • Next by thread: Re: Resizing a WebView
  • Index(es):
    • Date
    • Thread