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

Baseline alignment does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Steps to reproduce:
      1. Create the following AIR application:

      <?xml version="1.0" encoding="utf-8"?>
      <s:WindowedApplication 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="baselineGroup1" width="100%" verticalAlign="baseline">
      <s:Label text="Label Wj"/>
      <s:Button label="Wj"/>
      <s:ButtonBar>
      <s:ArrayCollection>
      <fx:String>Wj1</fx:String>
      <fx:String>Wj2</fx:String>
      </s:ArrayCollection>
      </s:ButtonBar>
      <s:CheckBox label="Wj" fontSize="20"/>
      <s:RadioButton label="Wj" fontSize="30"/>
      <s:TextInput text="Wj" fontSize="40"/>
      <s:TextArea text="Wj"/>
      <s:List>
      <s:ArrayCollection>
      <fx:String>Wj</fx:String>
      </s:ArrayCollection>
      </s:List>
      </s:HGroup>
      </s:WindowedApplication>

      2. Run
      3. Observe baseline alignment

      Actual Results:
      Baseline alignment has no effect.

      Expected Results:
      Baseline of text labels should be aligned. Regression appears in rev 19635. Works as expected in rev 19633. See screen shot comparison of before and after.

      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: