PDA

View Full Version : [FIXED] [GXT 3.0] Need Access to ComboBoxCell minListWidth property



dardison
19 Jan 2012, 6:18 PM
Hi,

I want to define a ListView widest than the ComboBox field it belongs to.
In GXT 2.0 this could be done by


myComboBox.setMinListWidth(size);

In GXT 3.0 there is no such method, but reading the code I found that that property is defined in ComboBoxCell and it seems they are using it for the same task, but it doesn't have a setter and is defined private.
Question are, will this property be accesible in the near future? Is there any other way of doing this?

Regards
Daniel

Colin Alworth
24 Jan 2012, 10:00 AM
Thanks for the report, we'll look into it.

As a workaround you can use JSNI to access otherwise inaccessible fields and methods, either from a subclass of ComboBoxCell or in your own code.

darrellmeyer
3 Feb 2012, 9:47 AM
This is now fixed in SVN. Change will go out in next release.

WesleyMoy
2 Mar 2012, 5:14 PM
Thanks for pointing this issue out. This method should now exist as of beta 4 (http://www.sencha.com/forum/showthread.php?184556-Ext-GWT-3.0-Beta-4-Now-Available).