Check documentation for the latest version of dhtmlxSuite setSizes DHTMLX Docs

setSizes

adjusts the size of the tabbar when the parent's size is changed

void setSizes();

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
// if you change parent's size
document.getElementById("parentId").style.width = "800px";
document.getElementById("parentId").style.height = "600px";
 
// tabbar needs to be adjusted
myTabbar.setSizes();

Details

added in version 4.0 in fullscreen mode and if the tabbar is attached to another dhtmlx component - called automatically

Back to top