It seems that this causes the width of the tab to change / grow.
After upgrading from 2.5 to 2.6 use of the .setLabel() causes the tab to grow each time, just gets wider and wider with each .setLabel() call
Upgraded all files from 2.5 to 2.6, the following code was used before and worked fine, however now the onTabContentLoaded event never fires, please advise.
dhxLayout.cells("b").hideHeader();
dhxTabbarb = dhxLayout.cells("b").attachTabbar("top");
dhxTabbarb.setImagePath("/_components/dhtmlxTabbar/codebase/imgs/");
dhxTabbarb.setHrefMode("ajax-html");
dhxTabbarb.setMargin("1");
dhxTabbarb.setOffset("5");
dhxTabbarb.setAlign("left");
dhxTabbarb.setSkin("dhx_skyblue");
dhxTabbarb.addTab("screen_designer","Designer","100px");
dhxTabbarb.setTabActive("screen_designer");
dhxTabbarb.addTab("xml_live","XML (Live)","100px");
dhxTabbarb.addTab("hooks_design","Hooks (Designer)","120px");
dhxTabbarb.addTab("hooks_live","Hooks (Live)","100px");
dhxTabbarb.addTab("processor_live","Processor","100px");
dhxTabbarb.setContentHref("hooks_design","/cp/data/panels.ajax/addedit_designer/designer.addedit.hooks.php?edit_id=18");
dhxTabbarb.setContentHref("processor_live","/cp/data/panels.ajax/view.php_file.php?view_file=/cp/data/add_edit/processor.basic.php");
dhxTabbarb.attachEvent("onTabContentLoaded", function(id){
console.log("Tab - "+id);
switch(id){
case "screen_designer":
DESIGNER.ready_DesignScreen();
break;
}
return true;
});
Neither the onXLS or onXLE events are ever fired either.
It has corrected both issues, however the scrollable tabs don’t seem to be working?
Is this the non-pro file it take it maybe?