Hello,
There is a problem with width of disabled RadioGroupItem that has set setVertical(false);
Form becomes wider than it should be. When RadioGroupItem is enabled it works ok.
Bug takes place only on Firefox in Chrome it works fine.
Tested on:
SmartGWT 4.1p 2014-04-02
Firefox 22, 25, 28
Test case:
Best regards
Mariusz Goch
There is a problem with width of disabled RadioGroupItem that has set setVertical(false);
Form becomes wider than it should be. When RadioGroupItem is enabled it works ok.
Bug takes place only on Firefox in Chrome it works fine.
Tested on:
SmartGWT 4.1p 2014-04-02
Firefox 22, 25, 28
Test case:
Code:
VLayout vLayout = new VLayout(5); vLayout.setWidth100(); vLayout.setHeight100(); DynamicForm form = new DynamicForm(); form.setWidth(300); form.setHeight(100); form.setBorder("1px solid red"); form.setDisabled(true); RadioGroupItem item = new RadioGroupItem("test"); item.setValueMap("test1", "test2", "test3"); item.setVertical(false); form.setFields(item); vLayout.addMember(form); DynamicForm form2 = new DynamicForm(); form2.setWidth(300); form2.setHeight(100); form2.setBorder("1px solid red"); form2.setDisabled(false); RadioGroupItem item2 = new RadioGroupItem("test"); item2.setValueMap("test1", "test2", "test3"); item2.setVertical(false); form2.setFields(item2); vLayout.addMember(form2); this.addChild(vLayout);
Mariusz Goch
Comment