11-12-2012 01:28 AM
I'm converting a WebWorks app from PlayBook to BB10, and when I load on my Alpha device, everything appears highly zoomed-in. In Ripple it appears fine.
I have tried
<meta id="viewport" name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
var meta = document.createElement("meta"); meta.setAttribute('name','viewport'); meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no'); document.getElementsByTagName('head').appendChi
but in both cases I get the following screenshot (taken on device, with remote web inspector running to show dimensions of image)
Web inspector is showing an image resolution of 175x254, however when measuring in the screenshot it is closed to 395x575.
Solved! Go to Solution.