皮肤 Flex 4 组合框看起来像 Flex 3 组合框 [英] Skin Flex 4 combobox to look like Flex 3 combobox
问题描述
由于我最近将我的应用程序迁移到 Flex 4,我想在我的应用程序中使用
组件而不是
>.问题是两者的外观和感觉不同.
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.
如何使 <s:Combobox/>
组件的外观(所有蒙皮,例如悬停、单击、轮廓)与 <mx:Combobox/> 完全相同;
?
How can I make the <s:Combobox />
component look (all skinning e.g. hover over, click, outline) exactly the same as <mx:Combobox />
?
更具体地说,我想将 Halo 主题应用于 DropdownList 组件.这可能吗?
More specifically, I want to apply the Halo theme to a DropdownList component. Is that possible?
推荐答案
您可以将应用程序的默认皮肤设置为 Hero 而不是 Spark.假设您使用的是 Flash Builder:
You could just set the default skin for your application to Hero instead of Spark. Assuming you're using Flash Builder:
- 点击项目 -> 属性.
- 点击属性列表中的Flex Theme.
- 展开 Adobe Themes - Halo 并选择 Halo 主题.
- Click on Project -> Properties.
- Click Flex Theme from the properties list.
- Expand Adobe Themes - Halo and select the Halo theme.
这篇关于皮肤 Flex 4 组合框看起来像 Flex 3 组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!