<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,</div><div><br></div><div>I don't understand what's the problem here. 960 x 540 is the correct resolution of Jolla, why should it be something else?</div><div><br></div><div>- Saija<br><br>Lähetetty iPadista</div><div><br>"Daniel Beck" <<a href="mailto:d.danielbeck@googlemail.com">d.danielbeck@googlemail.com</a>> kirjoitti 16.8.2014 kello 12.56:<br><br></div><blockquote type="cite"><div><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<br></div><div>Daniel<br></div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span><a href="http://SailfishOS.org">SailfishOS.org</a> Devel mailing list</span><br><span>To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></span></div></blockquote></body></html>