Categories | Question details Back To List | ||
dhtmlxLayout - Autosize Hi, I do not manage to set the correct autosize for the following layout: workspace = new dhtmlXLayoutObject("parentId", "2E", "dhx_blue"); workspace_main = new dhtmlXLayoutObject(workspace.cells("a"), "4H", "dhx_blue"); workspace.cells("a").hideHeader(); workspace.cells("b").setHeight(100); workspace_main.cells("b").setHeight(150); workspace_main.cells("a").setWidth(250); workspace_main.cells("d").setWidth(240); workspace.cells("b").collapse(); workspace_main.setAutoSize("c", "c"); Altough I set autosize the layout keeps the same when changing window size. Thanks for your help, Chrissu Answer posted by Support on Jan 16, 2009 05:02 For use layout's reaction to window dimension changing you should use fullscreened init: workspace = new dhtmlXLayoutObject("parentId", "2E", "dhx_blue"); // change to workspace = new dhtmlXLayoutObject(document.body, "2E", "dhx_blue"); In this case autosize for "workspace" layout will be used. |