trigger.io - Tabbar and Topbar not working as expected -


using trigger.io build html5 app.

using topbar , tabbar native ui features , encountering below issues.

topbar

for android: title image reduced lot , becomes small icon. whereas ios works fine. using android 4.1.2 galaxt note 2 test apk file.

is there optimum image size title image not reduced?

tabbar

unable add tabbar buttons in both android , ios. below exact js code using

forge.tabbar.addbutton({   icon: "img/img_0045.png",   text: "first",   index: 0 }, function (button) {   button.setactive();   button.onpressed.addlistener(function () {     alert("first");   }); });  forge.tabbar.addbutton({   icon: "img/img_0047.png",   text: "second",   index: 1 }, function (button) {   button.onpressed.addlistener(function () {     alert("second");   }); }); 

please advice!!

for topbar recommended image size 100px in height described on style portion of docs

https://trigger.io/docs/current/api/modules/topbar.html

its way @ bottom of page under style guidlines

as button in tabbar, see tabbar or bar no buttons?


Comments