The little unknown percentHeight property should work : > percentHeight = 100; >
thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net <sip%3awebattit...@ekiga.net> téléphone portable : +33601 822 056 2009/7/8 coder3 <rrhu...@hotmail.com> > > > > Hi All > > I create an object as Grid, and i need to set the height to 100%. how to do > it in script? > > for example: > > var grid:Grid = new Grid(); > > for(..) > { > var gridrow:GridRow = new GridRow(); > :::: > grid.addChild(gridrow); > } > > //now how to set grid.height = 100% instead of grid.height=222??? > > -- > View this message in context: > http://www.nabble.com/how-to-set-a-layout-object%27s-height-to-100---tp24386393p24386393.html > Sent from the FlexCoders mailing list archive at Nabble.com. > > >