Styling a tree component

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Styling a tree component

    Hi!
    I would like to customize a tree component so that "nodes" actually look like
    buttons.
    i tried exporting the style and edit with flash, but that way I can only edit
    the tree icons...
    what I want is the Name of my node appearing inside of the icon so that if i
    make the icon wide and look like a button, the text should not be beside
    it....if i make any sense here..

    maybe there's a way to use another component?
    i only want one level below the node, so i could use an Accordion but it
    doesn't work for empty containers (Canvas), it always slides down a bit , even
    if you set the canvas' width and height to 0 and the accordion to
    resizeToContent..

    i hope i'm not too confusing and that someone can help me :)

    cheers

    Mr Riney Guest

  2. Similar Questions and Discussions

    1. XML to Tree component
      Hi all, I'll appreciate any available help to my following problem: I use an xml connector component to read the following simple xml: How can I...
    2. Tree Component
      Has anyone figured out how to modify the style of individual rows in tree component. For example, I want to make all of the labels for eac...
    3. Flash component : the tree....
      Hello, I have a web page with this tree component, and i'll be glad to be able to go directly on a specific branch of the tree when the tree is...
    4. Using the tree component (MX)
      Hello all I would like to use the tree view component (flash 6) but there is very little information for this component. On a drive say:...
    5. Problem styling a menubar component
      Hi there, Am currently having a lot of trouble styling the MenuBar component in Flash MX 2004. Class code as follows class Styles { var...
  3. #2

    Default Re: Styling a tree component

    Some people have adapted the tree control to make Treemaps. Maybe that could help you

    [url]http://www.zeuslabs.us/2006/12/25/flex-treemap-subversion-download/[/url]

    Developer504 Guest

  4. #3

    Default Re: Styling a tree component

    treemaps are not really what i was looking for, but thanx...
    i found the solution, and it was an easy one lol :
    set property "verticalGap" to 0 (accordion), so when i click, everything stays
    in place the way i want it...

    Mr Riney Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139