title: How do I add a TextItem to HLayout in Smartgwt 2.4?
body: <p>I want to add a <code>TextItem</code> component into a <code>HLayout</code> in SmartGwt.
  I would just want to avoid adding each component to <code>DynamicForm</code> and then to a <code>Layout</code>
  Instead I want to directly add a <code>TextItem</code> to <code>HLayout</code>.</p>
  
  <pre><code>public class Test4 implements EntryPoint {
   DynamicForm dynamicForm = new DynamicForm();
   TextItem textItem = new TextItem();
  
  HLayout hLayout = new HLayout();
      public void onModuleLoad() {
      //  dynamicForm.setFields(textItem);
  
  
          hLayout.addMember(textItem);
          hLayout.draw();
      }
  }
  </code></pre>