I'm almost embarrassed to ask this but I simply cannot get my head around it!
I have the following list:
    <s:List id="list" left="0" right="0" top="0" bottom="0"
        change="navigator.push开发者_如何学GoView(EmployeeDetails, list.selectedItem)" dataProvider="{data}" borderVisible="true" borderColor="0x000000" >
    <s:itemRenderer>
        <fx:Component>
                <s:IconItemRenderer label="{data.firstName} {data.lastName}" messageField="title" opaqueBackground="0x000000"/>
        </fx:Component>
    </s:itemRenderer>
</s:List>
How on earth do you get the background colour of the IconItemRenderer or itemRenderer to display? Everything I've tried results in a boring white background for each list item.
Regards, Daniel.
Managed to solve this by using "alternatingItemColors" with only one colour!
If I understand your problem correctly, I think you have to set the List autoDrawBackground property of the List to false.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论