PDA

View Full Version : comboBox arrow



emmas
14 Jan 2010, 2:12 PM
Hi,
my comboBox comes out with the arrow misplaced.

Here is code:

ComboBox combo = new ComboBox();

ListStore store = new ListStore();
combo.setStore(store);
getPanel().add(combo);


attaching a screenshot how it looks like.


Anyone know why, and how to fix it?


Thank you

Love Yao
14 Jan 2010, 6:01 PM
In chrome ,no this problem.

why u using the emptry store,try set the store

emmas
14 Jan 2010, 6:12 PM
that is just an example to show how the comboBox looks like with a misplaced arrow, this is not real code. In real code store is not empty, but the comboBox is getting a misplaced arrow everywhere we have comboBoxes in our application.

Arno.Nyhm
15 Jan 2010, 10:29 AM
check if the css and all the resources are from the same gxt zip package and you have no other custom css defined. try to inspect the icon with firebug to see if there are other custom css is set for this icon.

emmas
18 Jan 2010, 11:36 AM
thank you, yes our custom css was causing this issue,


thanks