Responsive view using Qt webview..



  • Every time the web view qml loads the content inside the web pages get zoomed in.. Is there any possible ways to reduce the content size at the time of loading itself, i mean is there any ways to set the zoomed level fixed.



  • Maybe you can customize it from inside html file body section. Like below

    <body style="-webkit-transform:scale(0.92);-moz-transform-scale(0.92);overflow:hidden;">
    </body>

    You can update scale in the parenthesis for your own requirements

    Kerem


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.