* Sets the field with. * @param {number} width Number of columns (1-12) * @return {Field} Fluent interface
(width)
| 131 | * @return {Field} Fluent interface |
| 132 | */ |
| 133 | setWidth (width) { |
| 134 | this._width = width |
| 135 | this.updateView() |
| 136 | if (this._delegate && this._delegate.fieldNeedsLayout) { |
| 137 | this._delegate.fieldNeedsLayout(this) |
| 138 | } |
| 139 | return this |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Returns the delegate. |
no test coverage detected