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

Robin Qiu robin.qiu at torchmobile.com.cn
Tue Dec 21 06:06:53 PST 2010


There many different sizes affects the page size, have you tried viewport size?

________________________________
From: webkit-qt-bounces at lists.webkit.org <webkit-qt-bounces at lists.webkit.org>
To: webkit-qt <webkit-qt at lists.webkit.org>
Sent: Tue Dec 21 07:47:36 2010
Subject: [webkit-qt] could not set content size for FrameView under WinCE 5.0 MIPS


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.



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20101221/95cb3baa/attachment.html>


More information about the webkit-qt mailing list