When creating a window and attaching an object it is possible to specify a second parameter that sizes the window to fit the object. However there are times when I need to change the content and/or size of the
Please try to add second param “true” into attachObject, but make sure your
var w1 = dhxWins.createWindow(“w1”,1,1,320,200);
I am already doing that when creating the window.
The content of the window is dynamic and I want to be able to resize the window to fit after the content changes. Something like “layout.setSizes()”.
w - content width, h - height.