Bug of resizing Tabbar in layout cell

Hi,

I’ve a layout which have 3 cells (pattern 3L), on left side a tree nav, on right side top a header and on right side bottom a tabbar with a form. When I resize the layout, the line under the tabbar is not resized ; it’s only resized when I select an other tab. Is there any way to fix this ?

Here is my code :

dhxLayout = new dhtmlXLayoutObject({
	parent: document.body,
	skin: "dhx_skyblue",
	pattern: "3L"
});
dhxLayout.setEffect("resize", true);
dhxLayout.setAutoSize("c", "c");
var largeur = screen.width;
dhxLayout.items[0].setWidth(screen.width*21.5/100);
dhxLayout.items[1].setWidth(screen.width*78.5/100);
dhxLayout.items[1].setHeight(50);
dhxLayout.items[1].fixSize(false, true);
dhxLayout.items[0].attachObject("navigation"); // my tree
dhxLayout.items[1].attachObject("header");      // my header
dhxLayout.items[2].attachObject("content");     // my content

//tabbar in content
dhxTabbar = new dhtmlXTabBar("form_tabbar", "top");
dhxTabbar.setImagePath("codebase/dhtmlxTabbar/codebase/imgs/");
dhxTabbar.enableContentZone(false);
dhxTabbar.enableAutoSize(false,true);
dhxTabbar.enableAutoReSize();
dhxTabbar.addTab(0, "Test1");
dhxTabbar.addTab(1, "Test2");
dhxTabbar.setTabActive(0);

Thanks.

Hi
You need to attach tabbar to the cell with method attachTabbar, not to create tabar in a div and them attach this div via attachObject()