PDA

View Full Version : How to make the screen to be automatically fit based on the device width and height



vinothsencha
11 Aug 2014, 8:37 AM
We are using Ext JS 4.2.
We have developed a web application for hand held device Intermec ck71 model. The device width and height is 480 * 640.


We could not able to make the screen to be fit on the device. It is looking very small.
So, we have applied the following meta tag in index.html and tried
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0" />
(or)
<meta name = "viewport" content="width=480,height=640" />


Can you please tell us how to make the screen to be automatically fit based on the device width and height?

scottmartin
11 Aug 2014, 2:38 PM
No code, no screenshots ... might help to get more info.

Design it for the smaller screen, and they have to stretch, or create a condition to check for isMobile and load different forms.

Scott.