Layout attached to tabbar attached to layout does not resize

Hi,

I have an outer layout attached to document.body. To one of the cells I attached a tabbar, and to one of the tabbar cells I attached an inner 3U layout. When I resize my browser window, the inner layout cells do not resize. Here is my code:

// Create the layout.
dhxLayout_g = new dhtmlXLayoutObject(document.body, “2U”);

dhxLayout_g.attachHeader("HeaderDiv");

// Cell "a" is the inputs.
dhxLayout_g.cells("a").attachObject(inputsDivId);
dhxLayout_g.cells("a").setText("Input Selection");
dhxLayout_g.cells("a").setWidth(240);
	
// Cell "b" is the source code grid.
dhxLayout_g.cells("b").hideHeader();
dhxLayout_g.cells("b").view("Loading").attachObject("SourceCodeLoadingBar");
dhxLayout_g.cells("b").view("CheckingRestrictions").attachObject("RestrictionsLoadingBar");
dhxLayout_g.cells("b").view("VerifyUserNameLoadingBar").attachObject("VerifyUserNameLoadingBar");
dhxLayout_g.cells("b").view("Error").attachObject("SourceCodeLoadingError");

// Tabbar for source code and summary info.
codeSumTabBar_g = dhxLayout_g.cells("b").view("SourceSummaryTabs").attachTabbar();
codeSumTabBar_g.setImagePath(dhtmlxInstallRoot_g + "dhtmlxTabbar/codebase/imgs/");
codeSumTabBar_g.setSkin("silver");
codeSumTabBar_g.addTab("CodeTab", "Source Code");
codeSumTabBar_g.setTabActive("CodeTab");
codeSumTabBar_g.addTab("SummaryTab", "Summary");

// Summary tab contains a layout.
summaryLayout_g = new dhtmlXLayoutObject(codeSumTabBar_g.cells("SummaryTab"), "3U");
summaryLayout_g.cells("a").setText("File Info");
summaryLayout_g.cells("a").hideArrow();
summaryLayout_g.cells("a").attachObject("FileInfoLoading");
summaryLayout_g.cells("b").setText("Config Set");
summaryLayout_g.cells("b").hideArrow();
summaryLayout_g.cells("b").attachObject("ConfigSetLoading");

// Cell c contains a tabbar with tabs for data copy and polyspace.
summaryLayout_g.cells("c").hideHeader();
datacopyPolyTabBar_g = summaryLayout_g.cells("c").attachTabbar();
datacopyPolyTabBar_g.setImagePath(dhtmlxInstallRoot_g + "dhtmlxTabbar/codebase/imgs/");
datacopyPolyTabBar_g.setSkin("silver");
datacopyPolyTabBar_g.addTab("DataCopyTab","Data Copies");
datacopyPolyTabBar_g.cells("DataCopyTab").attachObject("DataCopySummaryLoading");
datacopyPolyTabBar_g.setTabActive("DataCopyTab");

Hi

You need to attach this layout directly in a tab:

summaryLayout_g  = codeSumTabBar_g.cells("SummaryTab").attachLayout("3U")