Hello

I want show a panel that is centered in my application, but not sure 
how to do it, basically i have created a seprate .mxml file that 
displays some data which i need to vertically and horizontaly align 
to center, even though i have provided both the attributes in the 
panel component i am still not able to achive the desired 
functionality any help/sample would be appreciated.

horizontalAlign="center" 
verticalAlign="middle" 


info.mxml

<mx:Panel xmlns:mx="http://www.macromedia.com/2003/mxml"; 
width="300" 
height="150" 
dropShadow="true" 
horizontalAlign="center" 
panelBorderStyle="roundCorners"
verticalAlign="middle" 
title="Sign In">

blah....
</mx:Panel>




Thanks
Arjun






Reply via email to