Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-18654

BasicLayout:extra line segment and rect show up when the rect and button set includeInLayout=false.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: BasicLayout
    • 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):

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment