Yes, please use the prerelease forum for questions regarding GMC2.

 

As for the depth color issue, we have logged it and are looking into
fixing it for a future release. Any rows that don't initially have nodes
will be drawn with black background color. Possible workaround is to set
Tree's rowCount to the number of rows containing nodes when the Tree is
initially drawn.

 

Thanks,

Belinda

Flex SDK QA

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Anatole Tartakovsky
Sent: Saturday, December 09, 2006 6:40 PM
To: [email protected]
Subject: Re: [flexcoders] DepthColors Bug GMC2

 

This might be a wrong forum. Have you tried this (guessing)

depthColors="{[0xFFCC00,0x0000FF,0xEFEFE4]}"

 

Regards,

Anatole Tartakovsky

www.faratasystems.com <http://www.faratasystems.com> 

 

On 12/9/06, Battershall, Jeff <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

Hello All,

Setting the depthColors array in Flex Builder 2.01 GMC2 makes the
background of the tree component turn black, and NOTHING I've been able
to figure out changes the behavior.

I'm able to produce this behavior consistently. Here's a code sample: 

<mx:XMLList id="treeData">
<node label="Mail Box">
<node label="Inbox">
<node label="Marketing"/>
<node label="Product Management"/> 
<node label="Personal"/>
</node>
<node label="Outbox">
<node label="Professional"/>
<node label="Personal"/>
</node>
<node label="Spam"/> 
<node label="Sent"/>
</node>
</mx:XMLList>

<mx:Tree 
width="300"
height="300"
dataProvider="{treeData}"
depthColors="[0xFFCC00,0x0000FF,0xEFEFE4]" 
showRoot="false"
labelField="@label"/> 

Any insight appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED] <mailto:jeff.battershall%40dowjones.com> 
(609) 520-5637 (p)
(484) 477-9900 (c)

 

 

Reply via email to