EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: gordis gmbh on April 30, 2018, 06:59:39 AM



Title: Set window's height dynamically?
Post by: gordis gmbh on April 30, 2018, 06:59:39 AM
Hello,

I have a window, which contains a button. A textbox will be added after each button click. In order to avoid the vertical scrollbar, is it possible to set the window’s height dynamically?
If yes,  how?

Thanks


Title: Re: Set window's height dynamically?
Post by: stworthy on April 30, 2018, 05:32:26 PM
Please set the 'height' property to 'auto'. You may need to call 'resize' method after appending something to the window.