Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Compile and run:
<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">
<s:VGroup verticalAlign="middle" horizontalAlign="center" width="501" height="501">
<s:Button label="1" alpha="1.00" />
<s:Button label="1" alpha="0.00" />
<s:Button label="1" alpha="0.00" />
<s:Button label="1" alpha="1.00" />
</s:VGroup>
<mx:VBox verticalAlign="middle" horizontalAlign="center" width="501" height="501">
<s:Button label="1" alpha="0.00" />
<s:Button label="1" alpha="1.00" />
<s:Button label="1" alpha="1.00" />
<s:Button label="1" alpha="0.00" />
</mx:VBox>
</s:Application>
Actual Results:
The buttons in the halo VBox don't horizontally line up with the buttons in the VGroup.
VerticalLayout/HorizontalLayout - minor axis alignment - rounds up (differs from halo)
VerticalLayout/HorizontalLayout - major axis alignment - rounds down (same as halo)
Expected Results:
The buttons should all be horizontally aligned equally.
VerticalLayout/HorizontalLayout - minor axis alignment - rounds down (same as halo)
VerticalLayout/HorizontalLayout - major axis alignment - rounds down (same as halo)
Workaround (if any):