Hi Daniel :)

could you please elaborate more?
What's the issue you're having?

960x540 is the resolution of the screen


2014-08-16 11:55 GMT+02:00 Daniel Beck <d.danielb...@googlemail.com>:

> Hello,
>
> I would like to create a webapp game application that runs inside a
> WebView.
> The problem is that the resolution reported by the HTML application is
> 960x540. The viewport of the HTML is set as follows:
>
> <meta name="viewport" content="width=device-width, initial-scale=1">
>
>
> Apparently, the webview does not honnor the device pixel ration (DPR) of
> the device.
> Is there some property/configuration I can set for this in the QML?
>
> WebView {
>                           id: webView
>                           anchors.fill: parent
>                           url: "index.html"
> }
>
>
> Thanks
> Daniel
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to