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

________________________________
From: webkit-qt-boun...@lists.webkit.org <webkit-qt-boun...@lists.webkit.org>
To: webkit-qt <webkit-qt@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.
_______________________________________________
webkit-qt mailing list
webkit-qt@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to