Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Huzefa on Aug 04, 2009 00:15
open dhtmlx forum
DhtmlxWindow height in percentage(%)

How can i set the height of the dhtmlxWindow in percentage(%), so that the window can take the height of the content inside it.

thanks,
Huzefa
Answer posted by Alex (support) on Aug 04, 2009 02:01

Hello, 

the sizes should be fixed, in pixels.

But you can change the window size after intialization using setDimension(width, height) if it's necessary.

win.setDimension(width, height);