Details
-
Bug
-
Status: Closed
-
Minor
-
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"
minWidth="1024" minHeight="768" >
<s:Group id="parentGroup" >
<s:Button label="parent" top="120" bottom="150"/>
<s:Group id="childGroup" >
<s:layout>
<s:BasicLayout/>
</s:layout>
<s:Button x="100" y="200" label="child" includeInLayout="true" minHeight="100" top="100" bottom="150"/>
<s:Button x="200" y="200" label="child2" includeInLayout="false" height="100"/>
<s:Rect width="300" height="300" id="border2" includeInLayout="false">
<s:stroke>
<s:SolidColorStroke color="0x00FF00"/>
</s:stroke>
</s:Rect>
</s:Group>
<s:Rect id="border" left="0" right="0" top="0" bottom="0">
<s:stroke>
<s:SolidColorStroke color="0xFF0000"/>
</s:stroke>
</s:Rect>
</s:Group>
</s:Application>
2.
3.
Actual Results:
the Rect shows up, also extra line segment shows up when the Rect, button=child2 had includeInLayout="false".
Expected Results:
no draw Rect, line segment
Workaround (if any):