[SailfishDevel] Creating a Webapp Application with WebView

Daniel Beck d.danielbeck at googlemail.com
Sat Aug 16 16:36:54 UTC 2014


Hello,

Thanks for the answers. What I meant is that - like alessandro said - the
embedded webview uses a device pixelratio of 1. Is it possible to set the
devicepixelratio of the webview to another value in qml?

Am Samstag, 16. August 2014 schrieb Matt Austin :

> On 16 August 2014 22:14, Alessandro Portale <alessandro at casaportale.de
> <javascript:;>> wrote:
> > Most likely Daniel has the correct 960x540 device pixels. But I assume
> > that he gets a devicePixelRatio of 1, which is too low for the Jolla
> > device. With 244 PPI (I assume that's what the Jolla phone has) it
> > should be a 2.0.
> >
> > What does the Jolla browser or the webview show here?
> > http://www.devicepixelratio.com/
>
> The Sailfish Browser on the Jolla shows a device pixel ratio of 1.5
> when I visit http://www.devicepixelratio.com/
>
>
> Regards,
>
>
> ---
>
> Matt.
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org <javascript:;>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140816/ea5e01c9/attachment.html>


More information about the Devel mailing list