3 Replies Latest reply on Apr 30, 2010 4:44 AM by yu2009

    Embeded Image size is too big

    yu2009 Level 1

      In a DataGrid column, I tried to add an image by the headerText.  However. the image occupies the whole cell and the headerText is invisible no matter how I set the width and height.  The code is below:

       

      <mx:DataGridColumn headerText="Input Status" headerWordWrap="true" dataField="InputStatus" headerStyleName="centered" width="100" >
      <mx:headerRenderer>
      <mx:Component>
      <mx:Image  toolTip="This is a column with an image " source="@Embed('com/esri/solutions/flexviewer/assets/images/icons/i_about2.PNG')" horizontalAlign="right" width="5" heigth="5"/>
      </mx:Component>
      </mx:headerRenderer>       
      </mx:DataGridColumn>

       

      Wish someone cah help.  Thanks.

       

      1.PNG