alawi
1 Sep 2008, 7:18 PM
Hello guys,
The fieldSet collapse function is not doing anything for me.
FieldSet fs= new FieldSet();
fs.setLayout(new FormLayout());
fs.setWidth(ClientConstants.FORMS_WIDTH);
fs.setCollapsible(true);
fs.collapse(); //<--- Does nothing ;(
fs.setHeading("please work!");
add(fs);
Also the name collapse is really confusing, something like setCollapsed(boolean collapsed); would have been better... Anyone?
Regards,
Ali
The fieldSet collapse function is not doing anything for me.
FieldSet fs= new FieldSet();
fs.setLayout(new FormLayout());
fs.setWidth(ClientConstants.FORMS_WIDTH);
fs.setCollapsible(true);
fs.collapse(); //<--- Does nothing ;(
fs.setHeading("please work!");
add(fs);
Also the name collapse is really confusing, something like setCollapsed(boolean collapsed); would have been better... Anyone?
Regards,
Ali