2 Replies Latest reply on Nov 30, 2006 2:07 AM by ian-d-m

    Overlapping labels with Repeater control

      I'm trying to display a list of label items. I am able to produce a datagrid or tilelist from the data, but when I use the following code, the labels are all displayed overlapped in the same position. I tried using Spacer to spread them out, but no improvement. I'm using the FlexBuilder2 IDE.

      <mx:Repeater id="myRepeater" dataProvider="{myList.lastResult.xml-list}">
      <mx:HBox width="900" height="50">
      <mx:Label width="100" text="{myRepeater.currentItem.name}" id="itemName" />
      <mx:Spacer height="25" width="120" />