You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Naoki Hada (JIRA)" <ji...@apache.org> on 2013/09/19 19:20:51 UTC
[jira] [Commented] (FLEX-20181) Setting contentBackgroundColor on
Spark Group doesnt have any effect
[ https://issues.apache.org/jira/browse/FLEX-20181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772058#comment-13772058 ]
Naoki Hada commented on FLEX-20181:
-----------------------------------
I think contentBackgroundColor does not have effect on either SkinnableContainer or Panel with SDK 4.6.0 and 4.10.0. Any solutions?
> Setting contentBackgroundColor on Spark Group doesnt have any effect
> --------------------------------------------------------------------
>
> Key: FLEX-20181
> URL: https://issues.apache.org/jira/browse/FLEX-20181
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: Group
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Adobe JIRA
> Fix For: Adobe Flex SDK Previous
>
>
> Steps to reproduce:
> 1. Compile and run the following MXML code:
> <?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 contentBackgroundColor="red" width="100" height="100">
> <s:SimpleText text="Hello world" />
> </s:VGroup>
>
> </s:Application>
> Actual Results:
> no background color behind the Group
>
>
> Expected Results:
> red background behind the text/Group
>
> Workaround (if any):
> Create your own background using nested groups and a <Rect> with a fill. Or just use a Panel container.
> <?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:Group>
> <s:Rect width="100%" height="100%">
> <s:fill>
> <s:SolidColor color="red" />
> </s:fill>
> </s:Rect>
> <s:VGroup width="100" height="100">
> <s:SimpleText text="Hello world" />
> </s:VGroup>
> </s:Group>
>
> </s:Application>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira