2 Replies Latest reply on Sep 3, 2008 6:52 AM by Gregory Lafrance

    Creating a multi line ListRenderer

    jogla
      Hello,

      ich try to create a multi line ListRenderer.
      It has about 120px height normaly.
      One part of it has to but in LinkButtons for a list of strings. This buttons should be placed in the same line until the line width is exceeded. Then, the next line should be used. If this list of LinkButtons exceeds the height of the container, the container has to grow.
      I did not find a way to implemented this feature with the standard ways flex 3 provides. Because the LinkButtons have all different widths, i can't just take hboxes and place them in a vbox.

      How would you do this?

      Grettings
      Jonathan
        • 1. Re: Creating a multi line ListRenderer
          Level 7

          "jogla" <webforumsuser@macromedia.com> wrote in message
          news:g9hgu3$47u$1@forums.macromedia.com...
          > Hello,
          >
          > ich try to create a multi line ListRenderer.
          > It has about 120px height normaly.
          > One part of it has to but in LinkButtons for a list of strings. This
          > buttons
          > should be placed in the same line until the line width is exceeded. Then,
          > the
          > next line should be used. If this list of LinkButtons exceeds the height
          > of the
          > container, the container has to grow.
          > I did not find a way to implemented this feature with the standard ways
          > flex 3
          > provides. Because the LinkButtons have all different widths, i can't just
          > take
          > hboxes and place them in a vbox.
          >
          > How would you do this?

          I think there's a multiline button example here
          http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html


          • 2. Re: Creating a multi line ListRenderer
            Gregory Lafrance Level 6
            I don't precisely understand the control you are trying to create. Can you describe it more precisely?