Text component input width attribute

It appears that the calculation of width of the input tag might be incorrect.
In the debug source for “text” component around Line 6081 contains:

var width = this._settings.inputWidth-this._settings.labelWidth-18;

Most of the time, this._settings.inputWidth is undefined. As a result, the variable width is then given the value: NaN. All calculations and the resulting HTML will contain the width: NaNpx

It currently is not causing any problem since the invalid width attribute is being ignored by the browser.


Problem confirmed, the final size still must be correct ( set by other branch of logic ), but this formula is invalid anyway. We will fix it in the next update.