Hi all, I've been trying to make my DataGrid's resize appropriately when their parent containers are resized but there is no joy to be had. When you run the following demo code....
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" load="myLoad()" > <mx:Script> import mx.core.Application; public var app:Application; function myLoad() { app = Application(mx.core.Application.application); } </mx:Script> <mx:DataGrid width="100%"> <mx:columns> <mx:Array> <mx:DataGridColumn headerText="25%" width="{app.width * .25}"/> <mx:DataGridColumn headerText="50%" width="{app.width * .50}"/> <mx:DataGridColumn headerText="25%" width="{app.width * .25}"/> </mx:Array> </mx:columns> </mx:DataGrid> </mx:Application> .. it initially draws in the correct proportion but if you resize the screen you get all sorts of variations in column sizes. Any ideas? Thanks, Paul. ~~------- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. ******************************************************************** Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

