Your renderer will be asked for its measured or explicit height and
centered accordingly.  Sounds like you may not be reporting the correct
height or maybe your rowHeight is set too small?

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava
Sent: Saturday, March 24, 2007 6:11 AM
To: Flex Components
Subject: [flexcomponents] setStyle("verticalAlign","middle") not working
with custom itemrenderers?

 

Hi All,

    I have created a datagrid which contains many custom itemrenderes.
When I do setStyle("verticalAlign","middle") on my datagrid then all the
text data is aligned to center properly but the cells which contain
custom itemrenderer are disturbed and the objects in that cell like
charts start from middle of the row and extends after the row. . what
can i do to align all the objects in center?

Thanks
Arpan

 

________________________________

Bored stiff? <http://us.rd.yahoo.com/evt=49935/*http:/games.yahoo.com>
Loosen up...
Download and play hundreds of games for free
<http://us.rd.yahoo.com/evt=49935/*http:/games.yahoo.com>  on Yahoo!
Games.

 

Reply via email to