Using the following code, the initial load of the app shows a little
dead area to the right side of the screen.  As soon as you resize the
browser window, it fixes and flows correctly.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" width="100%" height="50%" backgroundColor="0xFF0000">
  <mx:VBox height="100%" width="100%" backgroundColor="0x00FF00">
    <mx:Button label="Print" width="100%" height="5%"/>
    <mx:DataGrid width="100%" height="95%" backgroundColor="0x0000FF"> 
        <mx:dataProvider>
            <mx:ArrayCollection>
                <mx:source>
                    <mx:Object>
                        <mx:Artist>Pavement</mx:Artist>
                        <mx:Price>11.99</mx:Price>
                        <mx:Album>Slanted and Enchanted</mx:Album>
                    </mx:Object>
                    <mx:Object>
                        <mx:Artist>Pavement</mx:Artist>
                        <mx:Album>Brighten the Corners</mx:Album>
                        <mx:Price>11.99</mx:Price>
                    </mx:Object>
                </mx:source>
            </mx:ArrayCollection>
        </mx:dataProvider>
    </mx:DataGrid>
    <mx:Button label="Empty" width="100%" height="5%"/>
  </mx:VBox>
</mx:Application>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 


Reply via email to