简体   繁体   English

皮肤 Flex 4 combobox 看起来像 Flex 3 combobox

[英]Skin Flex 4 combobox to look like Flex 3 combobox

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> .由于我最近将我的应用程序迁移到 Flex 4,我想在我的应用程序中使用<s:Combobox>组件而不是<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 eg hover over, click, outline) exactly the same as <mx:Combobox /> ?我怎样才能使<s:Combobox />组件看起来(所有蒙皮,例如 hover,点击,轮廓)与<mx:Combobox />完全相同?

More specifically, I want to apply the Halo theme to a DropdownList component.更具体地说,我想将 Halo 主题应用于 DropdownList 组件。 Is that possible?那可能吗?

You could just set the default skin for your application to Hero instead of Spark.您可以将应用程序的默认皮肤设置为 Hero 而不是 Spark。 Assuming you're using Flash Builder:假设您使用的是 Flash 生成器:

  1. Click on Project -> Properties .单击项目->属性
  2. Click Flex Theme from the properties list.从属性列表中单击Flex 主题
  3. Expand Adobe Themes - Halo and select the Halo theme.展开Adobe 主题 - Halo和 select Halo 主题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM