PDA

View Full Version : Webkit/QWebView rendering for small screen



mdvernick
11th September 2008, 02:29
Can a QWebView (or QWebPage/Frame) render its content for a small sized screen, i.e. something like 320x240? I know that Safari/Webkit does it for the iPhone but I haven't been able to find anything in the Qt documentation.

Thanks in advance,

Michael

crazymoonboy
12th September 2008, 05:19
Hi Michael,

I think you can set your screen size in "QWebSettings" class.

Thanks
Chandra

mdvernick
12th September 2008, 18:26
I did not find anything to set the screen size in the QWebSettings. One can change the font size and other attributes, but nothing to tell the rendering engine to format it for a small screen. Could it be done in a style sheet?