[
https://issues.apache.org/jira/browse/FLEX-11703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Kessler resolved FLEX-11703.
---------------------------------
Resolution: Invalid
Assignee: Mark Kessler
This is a flex-builder issue
> Image misaligned when scaleContent=false and aligned to other than top-left
> ---------------------------------------------------------------------------
>
> Key: FLEX-11703
> URL: https://issues.apache.org/jira/browse/FLEX-11703
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Image
> Affects Versions: Adobe Flex SDK 2.0.1 (Release)
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Browser: Internet Explorer 7.x
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Mark Kessler
>
> Steps to reproduce:
> In code view of Flex builder add this code
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
> <mx:Image source="photo111.jpg" height="500" width="500"
> scaleContent="false" horizontalAlign="right"/>
> </mx:Application>
> Switch to design view
> you might notice that the bounding box is not correct for the image
> ***old***
> 1. Add an Image component to the canvas
> 2. Set the source for the image
> 3. Set the Image component size to something smaller than the actual image
> content.
> 3. Set the scaleContent flag to false
> 4. Set either the horizontalAlign style to "center" or "right" OR the
> verticalAlign style to "bottom" or "middle".
>
> Actual Results:
> The image content is misaligned (see image).
>
> Expected Results:
> The image content should be aligned as defined and masked appropriately.
>
> Workaround (if any):
--
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