<div dir="ltr">Hi Daniel :)<div><br></div><div>could you please elaborate more? </div><div>What's the issue you're having?</div><div><br></div><div>960x540 is the resolution of the screen</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-08-16 11:55 GMT+02:00 Daniel Beck <span dir="ltr"><<a href="mailto:d.danielbeck@googlemail.com" target="_blank">d.danielbeck@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hello, <br><br></div>I would like to create a webapp game application that runs inside a WebView.<br></div>The problem is that the resolution reported by the HTML application is 960x540. The viewport of the HTML is set as follows: <br>

<pre><code><meta name="viewport" content="width=device-width, initial-scale=1"> </code></pre><br></div>Apparently, the webview does not honnor the device pixel ration (DPR) of the device. <br></div>

Is there some property/configuration I can set for this in the QML? <br><div><div><div><br>WebView {<br>                          id: webView<br>                          anchors.fill: parent<br>                          url: "index.html"<br>

}<br><br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Daniel<br></div></font></span></div></div></div>
<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div><br></div>