I’ve got a combo box like this:
<mx:ComboBox dataProvider="{someArrayCollection}" />
But when the contents of someArrayCollection change, it leaves the combo box too small:

How can I trick the combo box into automatically resizing to fit the label of the largest item?
So the problem is that the
ComboBoxdoesn’tinvalidateSize()after thedataProviderdispatches aCOLLECTION_CHANGEevent.Lame.
It can be fixed by calling
myComboBox.invalidateSize()when ever thedataProviderdispatches aCOLLECTION_CHANGE.