"I have checked all alignment properties but none works."

Except moving the alignment properties to <mx:VBox> :-)

<mx:VBox horizontalAlign="center" verticalAlign="middle" ....


Paramjit jolly wrote:

 

Hi All,

  I am trying to use image as record to show on datagrid row and

I am successfully done that using cellRenderer but now issue is

I want that image icon to be displayed center aligned.

I have checked all alignment properties but none works.

 

I am pasting code for cell renderer.

 

<mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml">

    <mx:Image id="image" width="16" height="16" source="report.jpg" toolTip="click to see report" horizontalAlign="center" verticalAlign="middle" />

</mx:VBox>

 

Plz mail if someone already used.

 

Thaks ....

Paramjit Jolly | Senior Software Engg. | S O L U T I O N S  I N C.
A-26/1, Mohan Co-op Indl. Estate
Office: 91-11-26950202 | Fax: 91-11-26950201 | Cell - 9891149761
[EMAIL PROTECTED] | www.solutionsny.com

"I love the person who can smile in trouble,who can gather strength from distress, and grow brave by reflection." 
-> Thomas Paine






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to