×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    1

    QWebView setZoomFactor

    Hey!

    I want to use QWebView.setZoomFactor on a symbian device. It works on the desktop, but the mobile just only shows at 100%.
    I already found this http://www.developer.nokia.com/Commu...-setZoomFactor thread, but there was no solution.

    What's the way to do it?

    Thanks.

  2. #2
    Nokia Developer Expert
    Join Date
    Sep 2011
    Posts
    382

    Re: QWebView setZoomFactor

    Please try this:
    m_webView->setZoomFactor(static_cast<qreal>(m_currentZoom)/100.0);

    as in \Apps\Qt\Demos\4.7\embedded\anomaly\ which zoom is work fine on C6-01 ; Qt 4.7.4; Webkit 534.3

Similar Threads

  1. How to use QWebView
    By rahul.kulshreshtha in forum Qt
    Replies: 3
    Last Post: 2011-02-28, 12:15
  2. QWebView
    By atonical in forum Qt
    Replies: 1
    Last Post: 2011-02-13, 19:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×