Announcement Announcement Module
Collapse
No announcement yet.
GWT: Changing Field length Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • GWT: Changing Field length

    I find the default TextBox (input) length too short for many of my fields. I've come up with a way to change the length using css. Since I haven't seen this published, I thought I'd share.

    First add a style to the <ui:style>

    Code:
        .field500 {
          padding:2px;
          width: 500px;
        }
    Then add the style to the field

    Code:
    <g:TextBox styleName="{style.field500}" ui:field="trail"/>
    Enjoy
    Dan
Working...
X