Hi Alessandro,
according to http://www.devicepixelratio.com/, the webview shows a
devicepixelratio of 1 when embedded in a QML application.
Here is the code used to embed the webview:
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtWebKit 3.0
ApplicationWindow
{
initialPage: Componen
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, Alessan
On 16 August 2014 22:14, Alessandro Portale 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 t
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.devicepix
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 :
> Hello,
>
> I would like to create a webapp game application that runs inside a
> WebView.
> The problem is that the resolution report
Hi,
I don't understand what's the problem here. 960 x 540 is the correct resolution
of Jolla, why should it be something else?
- Saija
Lähetetty iPadista
> "Daniel Beck" kirjoitti 16.8.2014 kello 12.56:
>
> Hello,
>
> I would like to create a webapp game application that runs inside a WebV
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:
Apparently, the webview does not honnor the device pixel ration (DPR) of
the device.
I