The little unknown percentHeight property should work : > percentHeight = 100; >
thomas --- http://www.web-attitude.fr/ msn : [email protected] softphone : sip:[email protected] <sip%[email protected]> téléphone portable : +33601 822 056 2009/7/8 coder3 <[email protected]> > > > > 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. > > >

