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

baselinePosition for Group is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Group
    • 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
      width="500" height="500"
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      xmlns:s="library://ns.adobe.com/flex/spark"
      backgroundColor="0xFFFFFF" creationComplete="trace('grp.baselinePosition' + grp.baselinePosition)">

      <mx:FormItem label="ABCDEF" top="100">
      <s:Group width="100" height="30" id="grp">
      <s:Rect top="0" left="0" right="0" bottom="0">
      <s:fill>
      <s:SolidColor color="#CCCCCC"/>
      </s:fill>
      </s:Rect>
      </s:Group>
      </mx:FormItem>

      <mx:FormItem label="ABCDEF" top="200">
      <mx:HBox width="100" height="30" backgroundColor="#CCCCCC"/>
      </mx:FormItem>
      </s:Application>

      2. Look at the trace log

      Actual Results:
      baselinePosition returns 0; the Group should mirror the HBox (this test was written as a regression check for SDK-22098)

      Expected Results:
      baselinePosition should return 10.3203125 (what was returned prior to 4.5.16237)

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: