Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in 9215.
Steps to reproduce:
1. Compile and run attached .MXML file:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<s:VGroup horizontalCenter="0" verticalCenter="0">
<mx:Box width="250" height="100" backgroundColor="red">
<mx:Label text="backgroundColor=red" />
</mx:Box>
<mx:Box width="250" height="100" contentBackgroundColor="haloGreen">
<mx:Label text="contentBackgroundColor=haloGreen" />
</mx:Box>
</s:VGroup>
</s:Application>
Actual Results:
Setting backgroundColor works, but not setting contentBackgroundColor.
Expected Results:
Setting contentBackgroundColor should work w/ Spark theme. Setting backgroundColor should work w/ Halo theme.
Workaround (if any):
Set backgroundColor style instead (which breaks consistency).