开发者

Flex 3: <mx:list> hover background color

开发者 https://www.devze.com 2023-03-16 11:19 出处:网络
How do I change the background color of the item I\'m currently hovering over in a list?The default is that light blue, but I would like to be able to change it to whatever I want.I\'ve gone through t

How do I change the background color of the item I'm currently hovering over in a list? The default is that light blue, but I would like to be able to change it to whatever I want. I've gone through the list of available options, but I didn't see anythin开发者_运维百科g that stuck out at me.

I'm sure this is ridiculously simple, I just can't seem to figure it out.


Why not use the rollOverColor style? The docs say this style represents:

The color of the background of a renderer when the user rolls over it.


This did the trick:

useRollOver="false"
0

精彩评论

暂无评论...
验证码 换一张
取 消