Sorry, change that grid height to 90%. Still the same bug, but at least it all adds to 100% now!
It seems that any % other than 100% for the application height causes this. Absolute numbers work, too. I wonder, should I even specifying app height/width? It seems if I leave this off it assumes 100% anyway. --- In flexcoders@yahoogroups.com, "Jason" <[EMAIL PROTECTED]> wrote: > > 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 --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/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/