[ https://issues.apache.org/jira/browse/FLEX-27726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean reopened FLEX-27726: ---------------------------------- Possibly still an issue. > 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