EasyUI Forum
March 28, 2024, 06:35:40 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Set window's height dynamically?  (Read 2919 times)
gordis gmbh
Full Member
***
Posts: 103


View Profile Email
« 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!