JankiPanwala
JankiPanwala

Reputation: 584

Smart GWT: Combobox Item pick list issue

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?enter image description here

Upvotes: 1

Views: 1586

Answers (2)

RAS
RAS

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

levivanzele
levivanzele

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

Related Questions