Re: [flexcoders] how to set a layout object's height to 100%?

2009-07-08 Thread thomas parquier
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 téléphone portable : +33601 822 056 2009/7/8 coder3 > > > > Hi All > > I create an object as Gri

[flexcoders] how to set a layout object's height to 100%?

2009-07-08 Thread coder3
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??? --