Maximize dhtmlxwindow only in height

Hello,



What is the best method to maximize a dhtmlxwindow using the maximize button but only in height way ?



Thanks for your your answer

There are two ways

a) you can update source of dhtmlxwindows.js

line 1831: this._maximizeWindow = function(win) {…
line 1845: win.w = (win.maxW == “auto” ? (this.vp == document.body ?..   // can be commented

b) you can use onMaximize event and set necessary window dimension through
    win.setDimension…