Steve,
You are out of luck - here is snippet from TileBase code (line 50):
/**
 *  The TileBase class is the base class for controls
 *  that display data items in a sequence of rows and columns.
 *  TileBase-derived classes ignore the <code>variableRowHeight</code>
 *  and <code>wordWrap</code> properties inherited from their parent class.
 *  All items in a TileList are the same width and height.
 *
 *  <p>This class is not used directly in applications.</p>
 */
 
You have to choices - try to put it in control that supports variableRowHeight or roll out the new TileBase specific to your project. In later case you merge code in TileBase and DataGridBase makeRowsAndColumns method. I have not tried direct subclassing of TileBase - from the look of it it might be possible.
Regards,
Anatole
 
On 10/6/06, Steve Kellogg @ Project SOC <[EMAIL PROTECTED]> wrote:

Anatole,

 

THANKS VERY MUCH!  I had a feeling that the answer was related to ItemRenderer, but I couldn't seem to get my first steps to work.

 

May I ask one follow up question?  I need to insert the item renders in such a way that my list (inthis case, a TileList) can support different Row Heights for each row.  How can I do this?  No matter what I've tried, all of the rows come out the same height.

 

Thanks in advance,

 

 

Steve

 

 

 


From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com] On Behalf Of Anatole Tartakovsky
Sent: Wednesday, October 04, 2006 5:20 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Re: Dynamically adding components to a panel?

 


 

You can do anything there - the simpliest way would be to use runtime styling

Regards,

Anatole

 


 

On 10/4/06, Steve Kellogg @ Project SOC < [EMAIL PROTECTED]> wrote:

I have a similar question. I need to put WRAPPED TEXT into the cells of a
List or Tree.

Is it possible to AddChild to a LIST so that there's an actual UIComponent
as a cell's graphics?

Best Regards,

Steve

-----Original Message-----
From: [email protected] [mailto: [email protected]] On
Behalf Of jack_freud
Sent: Wednesday, October 04, 2006 2:38 PM
To: [email protected]

Subject: [flexcoders] Re: Dynamically adding components to a panel?

Thank you all - I was missing the addChild() concept. Works like a charm.

--- In [email protected], "Dustin Mercer" <[EMAIL PROTECTED]>
wrote:
>
> The addChild method of Panel is what you need. Here is a quick (non
> tested, on the fly, don't take literal) example, but It should get you
> on the right path.
>
>
>
> <mx:Script>
>
> <![CDATA[
>
> Private function addPanelChild() : void {
>
> var button : Button = new Button();
>
> button.label = "test";
>
> testPanel.addChild(button);
>
> }
>
> ]]>
>
> </mx:Script>
>
>
>
> <mx:Button label="test" click="addPanelChild();" />
>
>
>
> <mx:Panel id="testPanel">
>
> </mx:Panel>
>
>
>
> ________________________________
>
> From: [email protected] [mailto: [email protected]] On
> Behalf Of jack_freud
> Sent: Wednesday, October 04, 2006 11:48 AM
> To: [email protected]
> Subject: [flexcoders] Dynamically adding components to a panel?
>
>
>
> I'm still very new to Flex so what I thought should be hard is easy and
> what I thought should be easy is hard!
>
> I'm trying to find out how, to make an easy example, by pressing a
> button, another new button would appear in the panel.
>
> Ultimately I want to make a kind of toolbar or palette, where I could
> drag a shape from the palette into the workspace, and a copy of that
> shape would remain where I performed the drop.
>
> I can't find any examples that do anything like this.
>
> Thanks for anyone's help or direction.
>


--
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



__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to