Hello,
On my login page, I used the following js on page load event:
code
var height100 = jQuery("body").height();
if(height100 < 350)
{
Apperyio("mobilelabel_4").css("font-size", "8px");
Apperyio("mobiletextinput_5").css("font-size", "8px");
Apperyio("mobiletextinput_7").css("font-size", "8px");
Apperyio("mobilelabel_6").css("font-size", "8px");
Apperyio("mobilelabel_8").css("font-size", "8px");
Apperyio("sm1_1_Language").css("font-size", "8px");
Apperyio("mobilecheckbox_12").css("font-size", "8px");
Apperyio("mobilebutton_15").css("font-size", "8px");
Apperyio("mobilebutton_16").css("font-size", "8px");
}
else if (height100 > 350 && height100 < 750)
{
Apperyio("mobilelabel_4").css("font-size", "14px");
Apperyio("mobiletextinput_5").css("font-size", "14px");
Apperyio("mobiletextinput_7").css("font-size", "14px");
Apperyio("mobilelabel_6").css("font-size", "14px");
Apperyio("mobilelabel_8").css("font-size", "14px");
Apperyio("sm1_1_Language").css("font-size", "14px");
Apperyio("mobilecheckbox_12").css("font-size", "14px");
Apperyio("mobilebutton_15").css("font-size", "14px");
Apperyio("mobilebutton_16").css("font-size", "14px");
}
else
{
Apperyio("mobilelabel_4").css("font-size", "18px");
Apperyio("mobiletextinput_5").css("font-size", "18px");
Apperyio("mobiletextinput_7").css("font-size", "18px");
Apperyio("mobilelabel_6").css("font-size", "18px");
Apperyio("mobilelabel_8").css("font-size", "18px");
Apperyio("sm1_1_Language").css("font-size", "18px");
Apperyio("mobilecheckbox_12").css("font-size", "18px");
Apperyio("mobilebutton_15").css("font-size", "18px");
Apperyio("mobilebutton_16").css("font-size", "18px");
}
/code
Which bascially changes the size of font based on the screen height. All items font size has scalled very well except three as follow:
1) Checkbox: mobilecheckbox_12 (login page)
2) selectMenu: sm1_1_Language (login page)
3) NavBar: Apperyio("MasterNavBar_80").css("font-size", "10x"); (home page)
Do these items need different method to handle the font size? how?
In order to reproduce the problem:
Public link:
http://appery.io/app/mobile-frame?src...
The first two items in the first page/login page (pg100_loginPage)
The NavBar in pg200_homePage
login cerdentials: haytham/star1234