Page 1 of 1
Max html5 resolution for app?
Posted: Sat Dec 06, 2014 2:23 am
by mriffey
Client has an app that uses a large resolution window. The bottom of his app is being clipped off in the html5 client.
What is the max horizontal and vertical res for the html5 client?
Mark
Re: Max html5 resolution for app?
Posted: Sat Dec 06, 2014 3:07 pm
by jkuijt
Hi Mark,
On PC or Mac, the max resolution is calculated from your opened browser window, so best is to maximize your browser window, before you start any HTML5 session.
Best regards
Jeffrey
Re: Max html5 resolution for app?
Posted: Tue Dec 16, 2014 2:18 pm
by admin
Hello,
You can change resolution for mobile devices, locate in html5.html the line :
meta name="viewport" content="width=1024, maximum-scale=1.4
and change it to a bigger value, like 1280 instead 1024, as example.
Remember, this will only affect mobile devices resolution.
Re: Max html5 resolution for app?
Posted: Sat Dec 20, 2014 7:54 pm
by juwagn
Hello,
meta name="viewport" content="width=1024, maximum-scale=1.4
It is not actual info for a long time already.. Now this option is inside settings.js
Also do not touch this line! It will not help you to change it, better look for
settings.js variable
viewportwidth = "1024"; //initial width of session on mobile devices, height gets computed by browser.
and change it to higher one, according to this variable the viewport will be changed for iOS/Android and MobileIE browsers.
Re: Max html5 resolution for app?
Posted: Sat Dec 20, 2014 8:14 pm
by jkuijt
I can say that this setting works great!
We have set the default to 1440 because our customers use the Samsung Galaxy Tab S (Android) with a very high resolution. And 1440 gives a good result: not too small and not too big, and most applications fit very well.
Best regards
Jeffrey