Spring Roo uses Dojo’s dijit.form.ValidationTextbox
widget by default. This means only way to adjust textbox size is to adjust the width of widget. And this has to be done with widget attributes using Spring.addDecoration(); available in spring-js
.
1 2 3 4 5 6 7 8 9 10 11 |
|
Here I have used a new attribute width
, which is added to input.tagx
.
Usage:
1
|
|
Spring Roo input.tagx with adjustable width attribute
You may use the above gist as is or with modification, just don’t forget to attribute.