问题
As I have migrated my application to Flex 4 recently, I want to utilize the <s:Combobox>
component in my application rather than <mx:Combobox>
. The problem is that the look and feel of both are different.
How can I make the <s:Combobox />
component look (all skinning e.g. hover over, click, outline) exactly the same as <mx:Combobox />
?
More specifically, I want to apply the Halo theme to a DropdownList component. Is that possible?
回答1:
You could just set the default skin for your application to Hero instead of Spark. Assuming you're using Flash Builder:
- Click on Project -> Properties.
- Click Flex Theme from the properties list.
- Expand Adobe Themes - Halo and select the Halo theme.
来源:https://stackoverflow.com/questions/6610532/skin-flex-4-combobox-to-look-like-flex-3-combobox