I would use the Tree. I think I understand what you are trying to accomplish.
Basically you will look at the TreeItemRenderer. If you notice, the disclosureIcon, icon and label are all hard coded left align.
All you would need to do is use the TreeData to get the indent and you could then position the assets wherever you wanted. I don't know what your idea is as to the positioning of the disclosureIcon but, I can see a lot of different ways to layout out the item whild centering the label and icon.
Using the indent property your really could get creative. Just depends what exactly you are trying to accomplish.
Peace, Mike
On 10/20/06,
Douglas Knudsen <[EMAIL PROTECTED]> wrote:
ok, but extend which component in your idea?
DKOn 10/20/06, Michael Schmalle < [EMAIL PROTECTED] > wrote:Hi,
Seems to me you could do this quite easy with itemRenderers, using indent calculations based off of measured or unscaled witdth.
Peace, Mike--On 10/20/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:Ok, I'm starting to work on creating a 'balanced' tree component. I planned to extend UIComponent. Any other suggestions on which class I should extend? Wondering If I could exptend the Tree class and make it work somehow. By 'balanced' tree I mean one where the nodes pile up on center, not alligned right only like Tree.
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
What goes up, does come down.
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
--
What goes up, does come down. __._,_.___
--
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
__,_._,___
- Re: [flexcoders] balanced tree? Michael Schmalle
- Re: [flexcoders] balanced tree? Michael Schmalle
Reply via email to