Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Compile & run:
<?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" minWidth="1024" minHeight="768">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<s:Panel width="150" height="150" >
<s:layout>
<s:VerticalLayout paddingTop="-20"/>
</s:layout>
<s:Rect width="100" height="100">
<s:fill>
<s:SolidColor color="0xCCCC00"/>
</s:fill>
</s:Rect>
</s:Panel>
<s:Scroller>
<s:Panel width="150" height="150">
<s:layout>
<s:VerticalLayout paddingTop="-20"/>
</s:layout>
<s:Rect width="100" height="100">
<s:fill>
<s:SolidColor color="0xCCCC00"/>
</s:fill>
</s:Rect>
</s:Panel>
</s:Scroller>
</s:Application>
Actual Results:
Notice in the top one the Rect is on top of the Panel header and on the bottom, the Rect is below the Panel header
Expected Results:
Should be consistent especially since the Scroller does not appear in this case.
Workaround (if any):