I have a Flex 4.0 app which uses a lot of Comboboxes. These combo boxes can contain relatively large items in relation to the actual combobox size.
I want the dropdown list width to expand to a size which will fit all the items it has to display - but only when the dropdown list is opened.
I know there was a way of doing this with the mx components however cannot find any information on this for Spark components.
Does anybody have a solution for this?
thanks in advance
Try setting columnWidth on the dropdown
Create a skin for your combobox copying the original one and set popUpWidthMatchesAnchorWidth in the PopUpAnchor to false