public void onModuleLoad() {
            ListBox widget = new ListBox();
            widget.addStyleName("demo-ListBox");
            widget.addItem("One");
            widget.addItem("Two");
            widget.addItem("Three");
            widget.addItem("Four");
            widget.addItem("Five");
            widget.setSelectedIndex(-1);
            VerticalPanel panel = new VerticalPanel();
            panel.addStyleName("demo-panel-padded");
            panel.setSize("200px", "120px");
            panel.add(widget);
            RootLayoutPanel.get().add(panel);
        }

FF12:  Initially ListBox widget is displayed with no value in it.

IE7 and Chrome:  Initially ListBox widget is displayed with first
value in it, in this                           case One.

I would like to have the FF behavior even in IE and Chrome.

Thanks in advance!
Saida




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to