Set Flex MX ComboBox background color using CSS

2k Views Asked by At

Is there a way using CSS, to set a mx.controls.ComboBox's background color. This would be the background color of each row when the ComboBox is clicked (expanded). I've tried backgroundColor, fillColors and backgroundGradientColors without success.

My ComboBox is contained within a FormItem. I've also tried setting FormItem's backgroundColor, fillColors and backgroundGradientColors. It's not clear to me where ComboBox obtains or inherits its list cell background color from.

1

There are 1 best solutions below

0
On BEST ANSWER

What you want to set is the dropdownStyleName to another selector (let's call it '.dropDownStyle') which then sets the backgroundColor since the Combobox is actual made out of 2 parts.