Spring Roo :: Adjust text box size/width
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
.
Here I have used a new attribute width
, which is added to input.tagx
.
###Usage:
###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.
Author: Deepu Mohan Puthrote
Link: https://deepumohan.com/tech/spring-roo-adjust-text-box-sizewidth/
This work by Deepu Mohan Puthrote is licensed under a Creative Commons Attribution 4.0 International License