Nikolai Grachev
Posts: 0
Joined: Fri Jul 25, 2014 7:55 am

Container resize

Hi,

Elements of my app should scale screen width. A problem appears when screen height is lower than 480px (for example 320х480 in landscape mode).

http://appery.io/app/mobile-frame?src...

It seems to me height of container is limited min 480px. But I can not find where exactly.

My code for elements scaling:

var wh = $(window).height();
var ww = $(window).width();
Appery("full_grid").height(wh);
Appery("full_grid").width(ww);
Appery("text_div").height(wh);

$( window ).on( "orientationchange", function( event ) {
var wh = $(window).height();
var ww = $(window).width();
Appery("full_grid").height(wh);
Appery("full_grid").width(ww);
Appery("text_div").height(wh);
});

Thank you very much in advance!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Container resize

Hi Nikolai,

No, there are no container size limitations.
Could you please clarify what exactly doesn't work? How do I reproduce it?

Please note your code added to orientationchange event won't work in browser test, it is for device only. To test it in browser you would need to click Refresh button.

Nikolai Grachev
Posts: 0
Joined: Fri Jul 25, 2014 7:55 am

Container resize

Thank you, Katya!
With refresh button app works well in the browser.
The same problem with Appery.io Tester app for Android (but there is no refresh button).

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Container resize

Hi Nikolai,

Thank you for pointing this! I reported the issue.

Return to “Issues”