Resize button with autowidth:true

Hello,

I recognized that a button with autowidth: true is not changing its size if label of the button changes. If the changed label is larger than the previous one it is not display correctly. Calling refresh not seems to work in this case. I have created a sample that demonstrates the issue:

http://webix.com/snippet/a60054c3

Is there a way to resize the button correctly?

Thanks, Peter

Hello,

We’re going to fix this in the nearest future. For now, here’s a workaround:

http://webix.com/snippet/04315dea

Thanks a lot!
Best Regards, Peter