Results 1 to 3 of 3

Thread: Webkit/QWebView rendering for small screen

  1. #1
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Webkit/QWebView rendering for small screen

    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

  2. #2
    Join Date
    Sep 2008
    Posts
    9
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Webkit/QWebView rendering for small screen

    Hi Michael,

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

    Thanks
    Chandra

  3. #3
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Webkit/QWebView rendering for small screen

    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?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.