Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. run following code:
<?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/halo" >
<s:Scroller width="400" height="400" direction="rtl" horizontalScrollPolicy="on" verticalScrollPolicy="on">
<s:viewport >
<s:Group width="50%" height="50%">
<s:layout>
<s:BasicLayout />
</s:layout>
<s:Button label="button1" horizontalCenter="0" y="100"/>
<s:CheckBox label="checkbox" baseline="10" x="50" verticalCenter="100"/>
<mx:Label text="label1" horizontalCenter="0" verticalCenter="0"/>
<s:Rect left="0" right="0" top="0" bottom="0">
<s:stroke>
<s:SolidColorStroke color="0x00FF00"/>
</s:stroke>
</s:Rect>
</s:Group>
</s:viewport>
</s:Scroller>
</s:Application>
2.
3.
Actual Results:
the size(bounded box) for the <group> is 400X400.
Expected Results:
Size for the <group> should be 200x200.
Workaround (if any):