RE: [flexcoders] Re: Tree custom renderer

2009-04-29 Thread Yves Riel
In your treeRendererFilter class, override the updateDisplayList method. In there, set the position of your customerReportingFilter based on the label property. Be careful since the label property, in the base class, is made to be the entire lenght of the item renderer minus the icons. So, you

RE: [flexcoders] Re: Tree custom renderer

2009-04-29 Thread Yves Riel
Works fine for me. You probably have another issue in there. This is what I had for item renderer. The other classes were not touched. package { import mx.controls.treeClasses.*; public class treeRendererFilter extends TreeItemRenderer { private var _oTreeListData:TreeListData; public var

RE: [flexcoders] Re: Tree custom renderer

2009-04-28 Thread Tracy Spratt
One thing to watch for is that manual instantiation does not always set a default height and width. Explicitly set these to see if the child controls display Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com