PDA

View Full Version : Ext.ComboBox autosize over existing content



hoghweed
22 Sep 2009, 3:41 AM
Hi

I have a problem when apply an Ext.ComboBox over an existing html select item, even if the existing content makes the html select about 20px (by it's content non static width is set), the Ext.ComboBox will resize to a sort of default, large, width value.
There's a way to auto resize the Ext.ComboBox based on the existing items and no using the default width?

Even if I know which best tool Ext is, this issue will let my colleagues to discard Extjs.

Thanks in advance

2 Oct 2009, 7:01 AM
can't help w/out looking at the code.

The best solution is to let Ext JS handle the layout.