Max html5 resolution for app?

Get help with troubleshooting issues
Post Reply
mriffey
Posts: 10
Joined: Tue Dec 02, 2014 7:22 am

Max html5 resolution for app?

Post by mriffey » Sat Dec 06, 2014 2:23 am

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

jkuijt
Posts: 114
Joined: Sat Jan 04, 2014 1:41 pm

Re: Max html5 resolution for app?

Post by jkuijt » Sat Dec 06, 2014 3:07 pm

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

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: Max html5 resolution for app?

Post by admin » Tue Dec 16, 2014 2:18 pm

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.
Olivier
TSplus support team administrator
Image

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Max html5 resolution for app?

Post by juwagn » Sat Dec 20, 2014 7:54 pm

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.
TSplus HTML5 and Java web engineer

jkuijt
Posts: 114
Joined: Sat Jan 04, 2014 1:41 pm

Re: Max html5 resolution for app?

Post by jkuijt » Sat Dec 20, 2014 8:14 pm

I can say that this setting works great! :D
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

Post Reply