Hi, I have a question about module. The following code has 1 main application, and 1 module. The module contains a data grid. How do I make the data grid fill up the available space? I tried to set left/right/top/bottom properties to zero, but no success. Thank you - Jan.
Main Application: <?xml version="1.0" encoding="utf-8"?> <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/halo"> <mx:ModuleLoader url="Book.swf"/> </s:Application> Module (Book.mxml): <?xml version="1.0" encoding="utf-8"?> <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"> <mx:DataGrid left="0" right="0" top="0" bottom="0"> <mx:columns> <mx:DataGridColumn headerText="Column 1"/> <mx:DataGridColumn headerText="Column 2"/> <mx:DataGridColumn headerText="Column 3"/> </mx:columns> </mx:DataGrid> </mx:Module>

