简体   繁体   English

Spark组件上的Halo主题

[英]Halo theme on a Spark component

I have a Flex form made up mostly of MX components. 我有一个主要由MX组件组成的Flex表单。 Due to limitations with the MX mx.controls.ComboBox , I'd like to use the Spark control, spark.components.ComboBox . 由于MX mx.controls.ComboBox限制,我想使用Spark控件spark.components.ComboBox This works, except the Spark ComboBox sticks out visually because it doesn't use the Halo theme. 这是有效的,除了Spark ComboBox在视觉上突出,因为它不使用Halo主题。

Is there a way to have the Spark ComboBox use the Halo theme? 有没有办法让Spark ComboBox使用Halo主题?

I answered a similar question a while ago. 我刚才回答了类似的问题

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

  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并选择Halo主题。

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

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