Hi, I'm trying to figure out how I could change the font size of combobox items. Let's say I have this code <mx:Model id="sizes"> <size>6</size> <size>7</size> </mx:Model> <mx:ComboBox id="sizes_cb" dataProvider="{sizes.size}"/> I'd like the first item to have a fontSize of 6, the second 7 etc ... I was trying to loop into the combo.getDropdown but it doesn't seem to be a good idea. I never used a cellRenderer before, has anyone a piece of code I could get inspired from? do I have to implement all cellRenderers functions (setValue ...) or can I just use the setSize? Is it possible to use an mxml file as cellRenderer? something like <mx:Label> <mx:Script>function setSize(){}</mx:Script> </mx:Label> Sorry for the confusion Regards, Philippe
------------------------------------------------------------------ **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. ------------------------------------------------------------------ -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/