Thanks, Paul. That worked beautifully.
--- In [email protected], "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> How about:
>
> <mx:AdvancedDataGridColumn id="myCol" headerText="Test" width="95"
> wordWrap="true">
> <mx:itemRenderer>
> <mx:Component>
> <mx:VBox>
> <mx:HBox horizontalGap="2">
> <mx:TextInput id="txtPhoto" editable="false" />
> <mx:Button id="btnBrowse" label="Browse"
> click="outerDocument.doBrowse( event, this)"/>
> <mx:Button id="btnUpload" label="Upload"
> click="outerDocument.doSubmit( event )"/>
> </mx:HBox>
> <mx:ProgressBar id="progressBar" mode="manual"
> fontWeight="bold" color="red" indeterminate="false"
> labelPlacement="right" visible="false" />
> </mx:VBox>
> </mx:Component>
> </mx:itemRenderer>
> </mx:AdvancedDataGridColumn>
>
> Paul
>
> ----- Original Message -----
> From: "oneworld95" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, October 06, 2008 8:52 PM
> Subject: [flexcoders] itemRenderer layout question
>
>
> > Hi. I've got an itemRenderer in a DataGrid (please see below) and need
> > to have the ProgressBar appear on a new line (below the text input and
> > the 2 buttons) instead of stretching the column out. I've tried
> > everything to no avail. Any ideas? Thanks.
> >
> > <mx:AdvancedDataGridColumn id="myCol" headerText="Test" width="95"
> > wordWrap="true">
> > <mx:itemRenderer>
> > <mx:Component>
> > <mx:HBox horizontalGap="2">
> > <mx:TextInput id="txtPhoto" editable="false" />
> > <mx:Button id="btnBrowse" label="Browse"
> > click="outerDocument.doBrowse( event, this)"/>
> > <mx:Button id="btnUpload" label="Upload"
> > click="outerDocument.doSubmit( event )"/>
> > <mx:ProgressBar id="progressBar" mode="manual"
> > fontWeight="bold" color="red" indeterminate="false"
> > labelPlacement="right" visible="false" />
> > </mx:HBox>
> > </mx:Component>
> > </mx:itemRenderer>
> > </mx:AdvancedDataGridColumn>
> >
> >
> > ------------------------------------
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location:
> >
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > Links
> >
> >
> >
> >
>