Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dactar on Jun 06, 2008 03:47
open dhtmlx forum
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
Answer posted by Support on Jun 06, 2008 05:53
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...