[flexcoders] How to make the element of list stressed and having the color blue (other style : bold, inline)

2010-07-12 Thread Nini7016 Nini7016

Hello 

I have a list :
  mx:List id=listFileUpload  rowCount=1 height=45 x=10 
y=72 width=289 visible=true editable=false borderStyle = none/

in the dataoprovider , i put an arrayCollection : 
  public var arrayFileUpload : ArrayCollection;

 ...
 arrayFileUpload.addItem(fileRef.name +  [size : + 
fileRef.size+]);
listFileUpload.dataProvider = arrayFileUpload;
.

I would like that the element of the list listFileUpload will be bold and 
stressed 

I don't find a style which can applicate to the dataprovider 


Thanks 


  

Re: [flexcoders] How to make the element of list stressed and having the color blue (other style : bold, inline)

2010-07-12 Thread Alex Harui
I would use a custom itemrenderer.  There is no property or style you can set 
that will do it for you.


On 7/12/10 6:56 AM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote:






Hello

I have a list :
  mx:List id=listFileUpload  rowCount=1 height=45 x=10 
y=72 width=289 visible=true editable=false borderStyle = none/

in the dataoprovider , i put an arrayCollection :
  public var arrayFileUpload : ArrayCollection;

 ...
 arrayFileUpload.addItem(fileRef.name +  [size : + 
fileRef.size+]);
listFileUpload.dataProvider = arrayFileUpload;
 !.

I would like that the element of the list listFileUpload will be bold and 
stressed

I don't find a style which can applicate to the dataprovider


Thanks








--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui