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;" />
and
var meta = document.createElement("meta");
meta.setAttribute('name','viewport');
meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
document.getElementsByTagName('head')[0].appendChi ld(meta);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.
11-12-2012 01:31 AM
11-12-2012 11:32 AM
Glad you were able to sort it all out. I marked your answer as the solution to help others out as well.