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

baselinePositionElement for HorizontalLayout is not respected when using verticalAlign baseline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: Layout
    • 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/mx">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>

      <s:HGroup id="hg" baselinePositionElement="

      {cb}

      " verticalAlign="baseline">
      <s:CheckBox id="cb" label="One check box" baseline="30"/>
      <s:Label id="lbl" text="...and some random text..." />
      <s:Button id="btn" label="and a Button!"/>
      </s:HGroup>
      </s:Application>

      Actual Results:
      CheckBox is aligned at baseline="30" but nothing else is.

      Expected Results:
      All the elements should be aligned to baseline="30" since the checkbox is the baselinePositionElement.

      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: