EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: korenanzo on May 26, 2016, 01:14:45 AM



Title: difference between 1.4.4 and 1.4.5
Post by: korenanzo on May 26, 2016, 01:14:45 AM
I am using jeasyui 1.4.4;

Now I would upgrade but have a problem:

in 1.4.4 I can resize a textbox  using
Code:
$('#a').textbox({
   width: '100px',
   height: ''30px'',
});
http://www.jeasyui.com/forum/index.php?topic=5550.msg14179#msg14179


if I do this in 1.4.5 is it like recreating a brand new textbox, in fact I lose all previous configurations and settings and event bindings.
I cannot use .textbox('resize') because it resizes only the width, I need to modify the height, too.

Any solution?

Thanks,
RIc


Title: Re: difference between 1.4.4 and 1.4.5
Post by: jarry on May 26, 2016, 02:09:01 AM
Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.5-patch.zip. Now you can call the code below to resize the height of a textbox component.
Code:
$('#a').textbox('resize', {
  width: 100,
  height: 30
});