Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
Run this file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style>
Label
</mx:Style>
<mx:Form x="10" y="10" width="304" height="169" styleName="profileForm">
<mx:FormItem label="First name:" borderColor="#2772A7" color="blue">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Last name:">
<mx:TextInput/>
</mx:FormItem>
</mx:Form>
<mx:Label text="Label with overriden color attribute" color="blue"/>
<mx:Label text="Label"/>
</mx:Application>
Actual Results:
Note that the FormItem label use the color property. When the color attribute is applied directly to an mxml tag it should override any css.
It works correctly for the labels outside of the Form, but not for FormItem labels
Expected Results:
Workaround (if any):