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

SkinnableContainer / SkinnableDataContainer should support contentBackgroundColor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Spark doesn't have a general container that's easy to set a background color on. We've built our tooling support around setting the core contentBackgroundColor style for this in the Property Inspector, but this has no effect on general Spark containers such as SkinnableContainer or Group. After speaking with Glenn, it seems appropriate that SkinnableContainer and SkinnableDataContainer should support this.

      Steps to reproduce:

      <?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:SkinnableContainer x="116" y="87" width="200" height="200" contentBackgroundColor="#DF6565">
      </s:SkinnableContainer>
      </s:Application>

      Actual Results: Does not use the color for its background

      Expected Results: Should use it

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: