本文介绍了皮肤Flex 4组合框看起来像Flex 3组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于我最近将应用程序迁移到Flex 4,我想在应用程序中使用< s:Combobox>
组件,而不是 < MX:组合框>
。问题是两者的外观都不一样。 c $ c>< mx:Combobox /> ?$ / $ b $ c $>组件外观(所有皮肤,例如悬停,点击,轮廓)完全相同 b
更具体地说,我想将Halo主题应用于DropdownList组件。这可能吗?
解决方案您可以将应用程序的默认外观设置为Hero而不是Spark。假设您使用的是Flash Builder:
- 点击项目 - > 属性 。
- 点击属性列表中的 Flex Theme 。并选择光晕主题。
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?
解决方案 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.
这篇关于皮肤Flex 4组合框看起来像Flex 3组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!