Skip navigation.
 
mlRe: Embedding a WebView
FROM : Mike Nowak
DATE : Thu Oct 28 23:08:41 2004

Is it possible to have a WebView's content scaled to fit the WebView's
frame?

On Aug 3, 2004, at 11:30 AM, Matt Jarjoura wrote:

> WebView is an NSView so yes you can embed it anywhere you want.  For
> the scrolling, I believe you will have to use JavaScript to turn off
> the scroll bars, as WebKit tries to follow web standards.  However,
> you will have to use JavaScript to scroll anywhere in the document.
>
> -Matt
>
> On Mon, 2 Aug 2004 22:23:51 +0100, MT <<email_removed>>
> wrote:

>> Hi,
>>
>> Is it possible to embed a WebView into another view (just like you can
>> with any other view), and not have the built in Scroll bars?
>>
>> Ideally I'd like to use it like an NSTextView, with sizeToFit: or
>> similar, so I can handle the scrolling myself.
>>
>> Thanks for any help
>>
>> Moray
>>


--
Mike Nowak
Work: http://healthmedia.umich.edu/
Personal: http://snackdog.org/

"Everybody fights. Nobody quits. Otherwise I'll shoot you myself." --
Starship Troopers

Related mailsAuthorDate
mlEmbedding a WebView MT Aug 2, 23:23
mlRe: Embedding a WebView Matt Jarjoura Aug 3, 17:30
mlRe: Embedding a WebView Mike Nowak Oct 28, 23:08