EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: mzeddd on March 18, 2016, 05:37:17 AM



Title: Dynamically adjustable textbox
Post by: mzeddd on March 18, 2016, 05:37:17 AM
1) Is it possible to make dynamically adjustable textbox width?

For example I have Dialog or West/East layout panel with user form.
I would like to resize panel and get textbox perfectly fit its container all the time.

2) Is it possible to resize textbox width/height by mouse (with bottom-right textbox corner) ?

Thanks,
//V


Title: Re: Dynamically adjustable textbox
Post by: mzeddd on March 18, 2016, 06:17:33 AM
In addition to #1 I must say that style="width:100%" helps to adapt width in case if I make panel width bigger but not smaller.


Title: Re: Dynamically adjustable textbox
Post by: stworthy on March 19, 2016, 12:06:32 AM
Please refer to this example http://jsfiddle.net/j3aupuLj/


Title: Re: Dynamically adjustable textbox
Post by: mzeddd on March 21, 2016, 01:56:57 AM
Thanks!