How do you center a control in an MXML panel?
Posted
by George Edison
on Stack Overflow
See other posts from Stack Overflow
or by George Edison
Published on 2010-04-14T03:59:17Z
Indexed on
2010/04/14
4:03 UTC
Read the original article
Hit count: 305
Here is what I have:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#ffffff">
<mx:VBox percentHeight="100" percentWidth="100" >
<mx:Image source="@Embed('img.png')" percentHeight="100" percentWidth="100" />
</mx:VBox>
</mx:Application>
How can I center the mx:Image
in the mx:Application
?
© Stack Overflow or respective owner