this seems to resize okay when the browser resizes:
var dhxLayout = new dhtmlXLayoutObject(document.body, "2U);
this one shrinks up to almost nothing when the browser resizes. 3T doesnt work as well
var dhxLayout = new dhtmlXLayoutObject(document.body, “5I”);
Could you please clarify your problem and attach a screenshot with issue?