Start a new topic

JavaScript visual elements size

JavaScript visual elements size


Hello.

I am printing buttons and images from JavaScript in iOS, but they appear too small. I am not sure, but I think It has something to do with the fact that I can zoom the screen. 

Does anyone know why the visual elements are so small when printed with Java Script?

Thanks in advance!

Hi,

maybe your html window size is larger than the screen?

 

Best regards

Andreas

Hi,

also this snippet can become handy in ARchtect Worlds:

        <meta name="viewport" content="target-densitydpi=device-dpi, width = 540, user-scalable = 0" />

 

The integrated WebView in our SDK works best with these viewport settings.

 

Best regards

Andreas

Thank you very much Andreas. I will try this tomorrow.

Thanks!
Login or Signup to post a comment