SmartGWT 2.5
IE9/Chrome
Hello!
I have the following code, that adds a form with two select items.
- When I open select 1, the width is ok. (img1)
- Then I open select 2 that, as expected, expands the options area. (img2)
- When I open for the second time select 1, the options area is the same width of select 2... (img3)
Any clue about this?
It seems to me that this is a SmartGWT bug, but I am not sure...
Anyone with the same problem?
Thanks!
IE9/Chrome
Hello!
I have the following code, that adds a form with two select items.
Code:
VLayout layout = new VLayout(); DynamicForm form = new DynamicForm(); form.setNumCols(2); form.setTitleOrientation(TitleOrientation.TOP); form.setWidth(400); SelectItem select1 = new SelectItem(); select1.setTitle("Select 1"); select1.setWidth(200); select1.setValueMap("", "Option 1", "Option 2", "Option 3"); SelectItem select2 = new SelectItem(); select2.setTitle("Select 2"); select2.setWidth(200); select2.setValueMap("", "Option 1 - Very very very very long description", "Option 2 - Very very very very long description", "Option 3 - Very very very very long description"); form.setFields(select1, select2); layout.addMember(form);
- Then I open select 2 that, as expected, expands the options area. (img2)
- When I open for the second time select 1, the options area is the same width of select 2... (img3)
Any clue about this?
It seems to me that this is a SmartGWT bug, but I am not sure...
Anyone with the same problem?
Thanks!
Comment