Question: while TextAlign, works fine for controlling the horizontal
alignment of plain text in a column of a datagrid, an itemRenderer (a
checkbox in this case, specififed as an attribute of DataGridColumn)
seems impervious to the textalign value, and aligns hard left. I'd
like it centered.
Here's the code in question:
<mx:DataGridColumn width="90" headerText="Select"
textAlign="center"
editable="true"
dataField="Chosen"
rendererIsEditor="true"
itemRenderer="mx.controls.CheckBox"
editorDataField="selected"/>
Any ideas?
cheers, ethan
--
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.

