Skin Flex 4 combobox to look like Flex 3 combobox

我是研究僧i 提交于 2019-12-08 03:16:50

问题


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:

  1. Click on Project -> Properties.
  2. Click Flex Theme from the properties list.
  3. Expand Adobe Themes - Halo and select the Halo theme.


来源:https://stackoverflow.com/questions/6610532/skin-flex-4-combobox-to-look-like-flex-3-combobox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!