Input width

Hi.
In attachement a simple demo.
What i’m trying to achive is that the input item always has the full width when resizing the window. Tried several times without success. The input never changes its default width size.
Can you help out?
demo.rar (230 KB)

Hi

you need something like this

ui.viewport.windows.attachEvent(“onResizeFinish”,function(win){
var d = win.getDimension();
ui.viewport.form.getInput(“demo”).style.width = d[0]-50+“px”;
});

OK. Thanks very very much.