when changing to 2.6 we noticed that resizing of a fullscreen layout in IE doesn’t work anymore.
If we change it back to 2.5 it works again.
Layout is attached to document.body which has width:100% and height:100% (html,body).
var dhxLayout = new dhtmlXLayoutObject(document.body,"3T");
dhxLayout.cells("a").setHeight("55");
dhxLayout.cells("a").fixSize(false, true);
dhxLayout.cells("b").setWidth(200);
dhxLayout.cells("b").setText("<center>Navigation</center>");
dhxLayout.cells("b").showHeader();
dhxLayout.cells("c").hideHeader();
var dhxLayout1 = new dhtmlXLayoutObject(dhxLayout.cells("b"),"3E");
dhxLayout1.cells("a").setText("<%=i18n.txt("Menü")%>");
dhxLayout1.cells("b").setText("<%=i18n.txt("Favoriten")%>");
dhxLayout1.cells("c").collapse();
var height = dhxLayout.cells("b").getHeight();
dhxLayout1.cells("a").setHeight(Number(height*60/100).toFixed(0));
dhxLayout1.cells("b").setHeight(Number(height*40/100).toFixed(0));
var webBar = dhxLayout.cells("a").attachToolbar();
var dhxtabbar = dhxLayout.cells("c").attachTabbar();
dhxtabbar.enableAutoReSize(true,true);
var tree = dhxLayout1.cells("a").attachTree();
var dhxtabbar = dhxLayout.cells(“c”).attachTabbar();
dhxtabbar.enableAutoReSize(true,true);
There is no need to call enableAutoReSize if the tabbar is created by attachTabbar() method. It seems that the problem with the content inside the the tabbar (it isn’t resized).
How is the content attached?
thanks Alexandra
Problems i find,when this page located in frames ,If you click right mouse button to refresh, it will happen.please resovle it,thanks a lot.