Padding Autoviewport

Hello, I’d like to pad the top of the autoviewport for displaying dhtmlx windows so that they don’t maximize on top of a customized header space, and still have them be able to resize when maximized to fit the rest of the browser as it resizes. What settings can I adjust to accomplish this effect?

You may set onMaximize event and change teh window position using setPosition method:

var pos = w1.getPosition();
var size = w1.getDimension();