Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.Compile and run
<?xml version="1.0" encoding="utf-8"?>
<FxApplication height="800" width="800"
xmlns="http://ns.adobe.com/mxml/2009"
xmlns:mx="http://ns.adobe.com/mxml/2009"
><layout> <VerticalLayout/> </layout>
<Script>
<![CDATA[
import mx.core.*;
import mx.collections.*;
import mx.skins.spark.*;
import mx.graphics.*;
import mx.components.Group;
public function addEllipseAt( i:int=0, color:int=1000, width:int=40, height:int=30):void
]]
>
</Script>
<FxDataContainer id="dc" dataProvider="
{new ArrayCollection([])}"
itemRenderer="
"
>
<layout> <HorizontalLayout/> </layout>
</FxDataContainer>
<FxButton click="addEllipseAt()" label="addEllipse"/>
<FxButton click="dc.autoLayout=!dc.autoLayout" label="Switch autoLayout"/>
</FxApplication>
2.Click "Switch autoLayout" button to set autoLayout=false
3.Click "addEllipse" to add element to the fxDataContainer
Actual Results:
Ellipse is added at negative y
Expected Results:
ellipse is added at (0,0)
Workaround (if any):