package test.client;

import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.RichTextItem;
import com.smartgwt.client.widgets.form.fields.TextItem;

public class AForm extends DynamicForm {

	public AForm() {

		super();
		
		this.setNumCols(4);
		this.setHeight100();

		final TextItem textItem = new TextItem("textItem");

		RichTextItem commentAreaItem = new RichTextItem("comment");
		commentAreaItem.setControlGroups("fontControls", "styleControls");
		commentAreaItem.setWidth("*");
		commentAreaItem.setHeight("*");
		commentAreaItem.setColSpan(4);

		this.setItems( 
				textItem,
				commentAreaItem
				);

	}
	
}
