Hi, Graffine:
In QtWebKit, you may use:
page->mainFrame()->setScrollBarPolicy(Qt::Horizontal,
Qt::ScrollBarAlwaysOff);
page->mainFrame()->setScrollBarPolicy(Qt::Vertical,
Qt::ScrollBarAlwaysOff);
page->setViewportSize( mainFrame->contentsSize() );
On Mon, Apr 20, 2009 at 5:21 PM, Graffine <[email protected]> wrote:
> Hello:
>
> I want to render the web page content to small screen size. The goal is
> to adjust viewport size to render whole
> web content without scroll bar. I think it might start from Frame or
> Render class, but I don't find any feature
> or function to do this. Where can I find this?
>
> Graffine.
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev