Nominate our 2022 Qt Champions!

[solved] QML WebView Zooming In. Is It Possible?

  • Hello,

    I have a problem using WebView. I have a webview with height 600 width 200 and I am trying to use an html sidebar.
    Unfortunately this html sidebar comes up in microscopic detail. Instead of filling the 600 by 200 it does not fill it.

    Is there any way I can fix this without setting the font size really huge?

    Is there any way to zoom into the page with WebView?

    Kind Regards,
    Drew Potter

  • Moderators

    Every QML Item element has "scale" property, you can use it. Although in this particular case it seems rather like a workaround than a real solution.

  • Thanks, I solved the problem by implementing the sidebar in QML rather than using a WebView.

Log in to reply