[
https://issues.apache.org/jira/browse/FLEX-27468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-27468:
---------------------------------
Labels: easytest (was: )
> The TextArea's bounds are reported as starting at local coordinates of
> -18,-18 instead of 0,0!
> ----------------------------------------------------------------------------------------------
>
> Key: FLEX-27468
> URL: https://issues.apache.org/jira/browse/FLEX-27468
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: TextArea
> Affects Versions: Adobe Flex SDK 4.5 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easytest
>
> 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/mx" minWidth="955"
> minHeight="600" creationComplete="init()">
> <fx:Script>
> private function init(event:Event=null):void {
> var bounds:Rectangle = test2.getBounds(test2);
> trace(bounds); //reports (x=-18, y=-18, w=206, h=169)
> }
> </fx:Script>
> <s:Group width="100%" height="100%">
> <s:TextArea id="test2">
> </s:TextArea>
> </s:Group>
> </s:Application>
>
> Actual Results:
> (x=-18, y=-18, w=206, h=169)
>
> Expected Results:
> (x=0, y=0, w=206, h=169)
--
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