Mega Code Archive

 
Categories / Flex / Container
 

Use percentage to control the width and height of a Panel

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:Panel width="70%" height="40%">     </mx:Panel> </mx:Application>