With SmartGWT 3.1 2012-12-20 we're seeing two issues with SelectItem that are hard to describe with words or images. Therefore, I made a screen video: http://frightanic.com/misc/selectitem.mp4.
Here's the sample code used in the video:
- with IE9 scrolling through the pick list shows an odd effect that seems somehow related to the dotted/dashed border, the selected item seems to shift up/down by 1(?) pixel
- opening/closing the pick list causes two scroll bars to be rendered (no matter what the window size actually is)
Here's the sample code used in the video:
Code:
public class SelectItemTest extends HLayout {
public SelectItemTest() {
setMargin(20);
TextItem text = new TextItem("text", "Title");
SelectItem selectItem = new SelectItem("select", "Select");
LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
for (String value : new String[]{"Foo", "Bar", "Else"}) {
valueMap.put(value, value);
}
selectItem.setValueMap(valueMap);
DynamicForm form = new DynamicForm();
form.setFields(text, selectItem);
addMember(form);
}
}
Comment