Thanks for the effort, but it seems if I just don't try sticking
height/width on Application, things work fine.  Still don't know what
to make of that...

--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Sorry Jason,
> 
> That was an ugly work-around.  This works better:
> 
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
> <http://www.adobe.com/2006/mxml> "
> layout="absolute" height="50%" backgroundColor="0xFF0000">
> <mx:VBox height="100%" width="{Application.application.width}"
> backgroundColor="0x00FF00">
> 
> -TH
> 
> --- In [email protected], "Tim Hoff" <TimHoff@> wrote:
> >
> > Here's a work-around:
> >
> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> > layout="vertical" width="100%" height="50%"
> > backgroundColor="0xFF0000"
> > paddingBottom="0" paddingTop="0"
> > paddingLeft="-8" paddingRight="-8">
> >
> > Pretty ugly though,
> > -TH
> >
> > --- In [email protected], "Jason" jep1975@ wrote:
> > >
> > > 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 [email protected], "Jason" <jep1975@> 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 --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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