DynamicForm and items colSpan

Hi,

I have the following code:

public void onModuleLoad(){
		DynamicForm form = new DynamicForm();
		form.setNumCols(8);
		
		TextItem item1 = new TextItem("text1");
		TextItem item2 = new TextItem("text2");
		TextItem item3 = new TextItem("text3");
		TextItem item4 = new TextItem("text4");
		item4.setEndRow(true);
		TextAreaItem area = new TextAreaItem("area");
		area.setColSpan(7);
		
		form.setFields(item1,item2,item3,item4,area);
		form.draw();
	}

What I want: the textitems should be in the first row and the textarea should be in the complete second row.
I thought, that the colspan is responsible for that, but the textarea is displayed only in 2 columns (like the textitems).
Could you please give me a hint?

Thanks, GG

Something like this:

	public void onModuleLoad(){
		DynamicForm form = new DynamicForm();
		form.setNumCols(8);
		form.setWidth100();
		
		TextItem item1 = new TextItem("text1");
		TextItem item2 = new TextItem("text2");
		TextItem item3 = new TextItem("text3");
		TextItem item4 = new TextItem("text4");
		TextAreaItem area = new TextAreaItem("area");
		area.setColSpan(7);
		area.setStartRow(true);
		area.setEndRow(true);
		area.setWidth("*");
		
		form.setFields(item1,item2,item3,item4,area);
		form.draw();
	}

That works, thanks!
Although I don’t really understand why it didn’t work the way I did it. The Form must have been wide enough, cause the first row was much wider.
anyway… thanks!