Hi,
I cannot set a formitem to use the whole dynamicform width in the following example:
You will see that, though the item3 TD is correctly spanning both columns, the width of the text area item does not use the whole space, though I've set its width to *
Thanks for your help,
Thomas
(We are using SmartGWT 4.0p)
I cannot set a formitem to use the whole dynamicform width in the following example:
Code:
DynamicForm form = new DynamicForm(); form.setNumCols(4); TextItem item1 = new TextItem("ITEM1", "Item 1"); TextItem item2 = new TextItem("ITEM2", "Item 3"); TextAreaItem item3 = new TextAreaItem("ITEM3", "Item 3"); item3.setWidth("*"); item3.setColSpan(3); form.setItems(item1, item2, item3); form.setBackgroundColor("white"); form.setBorder("solid 1px black"); form.draw();
Thanks for your help,
Thomas
(We are using SmartGWT 4.0p)
Comment