Reputation: 584
I am using Start GWT 2.5. I am using combobox item. While opening a pick list and if pick list is having only one option, it shows horizontal and vertical scrollbars. Image is attached representing the issue.
Code:
DynamicForm form = new DynamicForm();
form.setIsGroup(true);
form.setCellPadding(5);
form.setNumCols(2);
ComboBoxItem comboBoxItem = new ComboBoxItem("TestCombo");
comboBoxItem.setValueMap("test1");
form.setFields(comboBoxItem);
form.draw();
Can any one help me?
Upvotes: 1
Views: 1586
Reputation: 8158
I know this is a very old post. But it might help someone.
This issue has been resolved in the newer versions of SmartGWT. All the releases above SmartGWT 2.5 reflects that the problem has been solved.
Upvotes: 1
Reputation: 736
I've noticed the same issue, and in my experience it only occurs in Google Chrome in development mode. Try debugging in Firefox, by using the Firefox plugin which can be found here. That ought to provide a workaround to the problem.
Note: if the problem still occurs in Google Chrome after you've deployed your application, I strongly recommend that you open a ticket at the SmartGWT Google Code project.
Upvotes: 0