Hi,
We are working on a web application, implemented with ExtJS 4.2.2 that is supposed to be used on tablets as well (latest iOS and Android releases).
Meta viewport tag was added to the loading html page:
The app works fine until the tablet is rotated (portrait to landscape or vice versa).
Content of the page is then shrinked after a few rotations (down to half of the screen on both axes).
Sometimes the page is still full page, but fonts and image are scaled up.
Do you have any suggestions how to solve that?
Thanks,
Matej
P.S.: I am aware that Sencha Touch would most be better for tablets. For now we have to use the same app for desktops and tablets.
We are working on a web application, implemented with ExtJS 4.2.2 that is supposed to be used on tablets as well (latest iOS and Android releases).
Meta viewport tag was added to the loading html page:
HTML Code:
<meta name="viewport" content="width=device-width, initial-scale=1"> The app works fine until the tablet is rotated (portrait to landscape or vice versa).
Content of the page is then shrinked after a few rotations (down to half of the screen on both axes).
Sometimes the page is still full page, but fonts and image are scaled up.
Do you have any suggestions how to solve that?
Thanks,
Matej
P.S.: I am aware that Sencha Touch would most be better for tablets. For now we have to use the same app for desktops and tablets.
Aucun commentaire:
Enregistrer un commentaire