PDA

View Full Version : Combobox - invalid sign bug?



Michi_de
27 Nov 2008, 7:23 AM
Hi,
is this a bug?
I 've this combobox instantiated



languageBox = new ComboBox<Language>();
languageBox.setDisplayField("name");
languageBox.setStore(languageStore);
languageBox.setAllowBlank(false);
languageBox.setForceSelection(true);
languageBox.setValidateOnBlur(false);

and it displays this strange thing (see below).

How can i make this invalid sign invisible? I cant realy click on the combobox' dropdown menu because of this 'bug'.
(the combobox is added into a horizontal panel first, then the horizontal panel is added into the content panel)
(and this bug is not because the button is too near to the box, the sign will allways be right over the drop down arrow)

Michi_de
27 Nov 2008, 11:57 PM
I 've solved the problem now:
you need to .setWidth(int) to your combobox, then this bug disappear...