You put a repeater inside a hbox and set dataprovider of the repeater to what you're using on the list box. It's not normally best practice to do this, that's why Alex asked if you had a lot of items in the list. Using a repeater is much slower in rendering time than a list.
On 28 Mar 2007 12:54:21 -0700, Shaun <[EMAIL PROTECTED]> wrote:
There aren't tons of items, but I need the dataprovider binding functionality provided by the horizontallist. (right now I bind to an arraycollection that changes regularly) How would you recommend achieving this with an HBox? I'd rather not manage the HBox's children manually, though I will if I have to of course. Thanks, Shaun --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Unfortunately, this is not supported. Do you have tons of items? If it > is only a few, I'd use HBox > > ________________________________ > > From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>] On > Behalf Of Shaun > Sent: Wednesday, March 28, 2007 10:40 AM > To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> > Subject: [flexcoders] Variable width ListItems > > > > I have a horizontal list with items that can have variable widths. > However, all items end up with the same width as the first item in the > list. How do I allow variable width list items? > > Is there something similar to the datagrid's variableRowHeight setting > that I'm missing? > > Thanks, > Shaun >