Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
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):