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

    Center an image in ItemRenderer

    RealBillyBlue

      Hey,

      how can I center an image in an ItemRenderer?

       

       

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

       

       

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

       

      Thank you!

      - bb