[webkit-qt] could not set content size for FrameView under WinCE 5.0 MIPS

achellies achellies at 163.com
Tue Dec 21 04:47:36 PST 2010


HI, i have a problem, i want to use the webkit rendering a html file, the html file only contains text, and when i use the webkitlauncher.exe load the html file,

i see the document Width and Document Height are 2236, 2874, so i have to use scrollbar to view the whole text,

i just want only use the vertical Scrollbar, and do not want use the horizontal Scrollbar,

so i just call FrameView::setContentsSize(800, 600) , but the layout do not changed, and then i call ScrollView::setUseFixedLayout(true) , scrollView::setFixedLayoutSize(800, 600), but the layout is not changed too, so i am very puzzled how to make the webkit rendering the html with a given width.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20101221/410b8dcd/attachment-0001.html>


More information about the webkit-qt mailing list