View Full Version : Sizing ComboBox DrooDown-List

Sven Bernhardt
3 Aug 2009, 11:19 PM

I am using a Gxt ComboBox, for choosing country codes ( GER for Germany, USA for United States, etc. ). The ComboBox is editable, and while the user is typing it displays the values that are possible for selection, depending on the input.
The input-Filed accepts the above metioned short-form of the coutnry codes, but in the Dropdown-list of the ComboBox the long-text for the contries should be displayed additionally. ( For example: Germany (GER) in the dorpdown-list and when selecting the list-entry, only GER will be diplayed ).

My problem is, that the width of the ComboxBox is for example 75px, so that the short-form for Country code could be diplyed without trouble. But for the extended values int the dropdwon-list it is the small.

In the implementation of Combobox I've seen that the dropdomwn-list is implementet as ListView and i tried to resize it's size, but without success.

Is there any possibility to size the Combobox' list independent from the ComboBox' input field width?

Thanks in advance for your help,


19 Aug 2009, 4:51 AM
with the search if found this thread :

Sven Bernhardt
19 Aug 2009, 5:06 AM
Life could be so simple...

While searching the forum, I've overseen this Thread...

Now it works!

Thank you very much!