Hi,
I am using SmartGWT 2.5, and GWT 2.2.
I can't get my form to put padding between SelectItems. My code is the following:
I've tried setCellPadding() and setPadding(), and neither seems to have any effect. There is no vertical space between the SelectItems. The form is inside a VLayout.
Any help appreciated.
Thanks
I am using SmartGWT 2.5, and GWT 2.2.
I can't get my form to put padding between SelectItems. My code is the following:
Code:
DynamicForm optionsForm = new DynamicForm();
optionsForm.setWidth100();
optionsForm.setHeight100();
optionsForm.setCellPadding(5);
optionsForm.setAutoFocus(true);
final SelectItem location = new SelectItem();
location.setTitle(messages.location());
final SelectItem fileType = new SelectItem();
fileType.setTitle(messages.fileType());
optionsForm.setFields(location, fileType);
Any help appreciated.
Thanks
Comment