阅读更多
由于button的skin属性的优先级高于combobox和colorpicker,因此如果设置了button的skin后,会影响combobox和colorpicker的显示样式。
http://bugs.adobe.com/jira/browse/SDK-9485
Release Note: When skin styles are set for Button, these take precedence over the default skin styles for ColorPicker and ComboBox. To work around this, you can explicitly set the skins for ComboBox and ColorPicker:
ColorPicker
{
upSkin: ClassReference("mx.skins.halo.ColorPickerSkin");
overSkin: ClassReference("mx.skins.halo.ColorPickerSkin");
downSkin: ClassReference("mx.skins.halo.ColorPickerSkin");
disabledSkin: ClassReference("mx.skins.halo.ColorPickerSkin");
}
ComboBox
{
upSkin: ClassReference("mx.skins.halo.ComboBoxArrowSkin");
overSkin: ClassReference("mx.skins.halo.ComboBoxArrowSkin");
downSkin: ClassReference("mx.skins.halo.ComboBoxArrowSkin");
disabledSkin: ClassReference("mx.skins.halo.ComboBoxArrowSkin");
}
- __SDK-9485__Using_upSkin-overSkin-etc__on_a_Button_selector_is_incorrectly_picked_up_by_un-skinned_ComboBox_and_ColorPicker_-_Adobe_Bug_System.zip (127.5 KB)
- 下载次数: 27