title: How to set the width of TextItem in DynamicForm
body: <p>How to set the width of <code>TextItem</code> in <code>DynamicForm</code>? </p>
  
  <p>Method <code>TextItem#setWidth()</code> is not working as expected. </p>
  
  <p>I have tried <code>DynamicForm#setColWidths()</code> also but still unable to set the width. </p>
  
  <p>Here is my code                                                                                                </p>
  
  <pre><code>import com.smartgwt.client.widgets.Window;
  import com.smartgwt.client.widgets.form.DynamicForm;
  import com.smartgwt.client.widgets.form.fields.TextItem;
  
  public class AgeModelWindow extends Window {
  
  public AgeModelWindow() {
      TextItem textItem = new TextItem();
      textItem.setWidth(50);
      textItem.setLength(3);
      textItem.setTitle("Age");
  
      DynamicForm form = new DynamicForm();
      form.setNumCols(2);
      //form.setColWidths("*", "50");
      form.setWidth100();
      form.setItems(textItem);
  
      this.setMargin(10);
      this.setTitle("Enter your age");
  
      this.addItem(form);
  
      this.setWidth(200);
      this.setHeight(100);
      this.setLeft(100);
      this.setTop(100);
  
      this.draw();
  }
  
  }
  </code></pre>