Hi,
Doing this in IE9 with doctype, a horizontal scrollbar comes up. Why is it doing that?
In FF: no scrollbar is introduced.
The form has a fixed height. We only want to show about 2 rows, and if this form has more rows, the vertical scrollbar shows (OK).
repro:
SmartGWT Pro 4/04/2012
thanks,
Doing this in IE9 with doctype, a horizontal scrollbar comes up. Why is it doing that?
In FF: no scrollbar is introduced.
The form has a fixed height. We only want to show about 2 rows, and if this form has more rows, the vertical scrollbar shows (OK).
repro:
Code:
VLayout v = new VLayout(); v.setWidth100(); v.setOverflow(Overflow.AUTO); v.setHeight(50); TextItem t1 = new TextItem("test1", "test1"); TextItem t2 = new TextItem("test2", "test2"); TextItem t3 = new TextItem("test3", "test3"); TextItem t4 = new TextItem("test4", "test4"); TextItem t5 = new TextItem("test5", "test5"); DynamicForm f = new DynamicForm(); f.setWidth100(); f.setNumCols(8); f.setItems(t1, t2, t3, t4, t5); f.setFixedColWidths(true); v.setMembers(f);
thanks,
Comment