Hi,
I am trying to use checkboxes in my datagrid, and everything works fine, except I cannot vertically align the "bugger". I played with
textAlign=""
horizontalCenter =""
paddingLeft =""
left=""
etc.
all the usual style candidates. The only thing that will make a difference, is the labelPlacement attrribute. The values "top" and "bottom" will center the checkbox nicely, unfortunately they will also add space for the label (either above or below) even if the label attribute is empty.
See code below. Help is greatly appreciated... Thx
<mx:DataGridColumn width="65" headerText="Member" dataField="member" textAlign="center" >
<mx:itemRenderer>
<mx:Component>
<mx:CheckBox labelPlacement="left"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

