flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fr├ęderic Cox (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FLEX-27726) Scale grid values on an embedded backgroundImage of a BorderContainer are ignored
Date Fri, 19 Jul 2013 15:44:49 GMT

    [ https://issues.apache.org/jira/browse/FLEX-27726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713778#comment-13713778
] 

Fr├ęderic Cox commented on FLEX-27726:
-------------------------------------

I don't believe this is fixed? Can this be reopened?
                
> Scale grid values on an embedded backgroundImage of a BorderContainer are ignored
> ---------------------------------------------------------------------------------
>
>                 Key: FLEX-27726
>                 URL: https://issues.apache.org/jira/browse/FLEX-27726
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: BorderContainer
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Steps to reproduce:
> 1. Compile and run this application:
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
>                xmlns:s="library://ns.adobe.com/flex/spark">
>     
>     <s:layout>
>         <s:VerticalLayout />
>     </s:layout>
>     
>     <s:Image
>         width="100%" height="100%"
>         source="@Embed(source='Top_Bottom_Bar_Sub.png',scaleGridLeft='150',scaleGridRight='650',scaleGridTop='25',scaleGridBottom='26')"/>
>     
>     <s:BorderContainer
>         width="100%" height="100%"
>         backgroundImage="@Embed(source='Top_Bottom_Bar_Sub.png',scaleGridLeft='150',scaleGridRight='650',scaleGridTop='25',scaleGridBottom='26')"/>
>     
> </s:Application> 
> 2.
> 3.
>  
>  Actual Results:
>  
> The image respects the scale grids.  The BorderContainer does not.
>  
>  Expected Results:
>  
> The BorderContainer should respect the scale grids.
>  
>  Workaround (if any):
>  
> From comments below:
> The workaround is to add an Image as the first child of the BorderContainer instead of
using backgroundImage when setting scale grid.

--
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

Mime
View raw message