For vertically centering you probably need to use an HBox and set the verticalAlignment to middle? Going off the top of my head.
Matt
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of flexabledev
Sent: Monday, May 08, 2006 12:34 AM
To: [email protected]
Subject: [flexcoders] Help with renderer in DataGrid
I am struggling with trying to figure out the best way to implement a
renderer that would conditionally display iconic buttons in a DataGrid
column if the Row has been selected. Also, when variableRowHeight is
set to "true" how does one make sure that text is vertically centered
in the rows whose height has increased due to the custom renderer?
--
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
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

