4 Replies Latest reply on Aug 15, 2010 10:52 PM by RealBillyBlue

    Center an image in ItemRenderer

    RealBillyBlue Level 1


      how can I center an image in an ItemRenderer?



                <mx:Image source="pix/{data.image}.jpg" width="100" height="100"/>
                <s:Label text="{data.name}" fontWeight="bold" textAlign="center"/>          



      So I want to get the image centered as the label under it.


      Thank you!

      - bb