Important: Please read the Qt Code of Conduct -

QML WebView from QtWebView 1.0 - How to scale the page to fit the screen

  • Dear all,
    I'm trying the new QtWebView module on a QML mobile application for display web pages into a QML.
    The WebView has set the width and height property to fit all space of the parent, but when it load an html page that is wider that the available width then the page overflow on the right and you have to pan touching the screen to see others parts of the web page.

    Instead, I'd like to scale the WebView content in order to fit the available width set, but I cannot find any properties that allow me to do that.

    Any suggestions ?

Log in to reply