Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20558

[spark_skins] Setting contentBackgroundColor on Halo VBox doesnt seem to work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • mx: Box View
    • 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).

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: