开发者

Flex DropDownList Hightlight

开发者 https://www.devze.com 2023-03-05 22:47 出处:网络
I am trying to Skin a \"hightlight\" of a DropDownList item. I can not find any documentation on changing the skin of the items hightlight / rollover skin. Does anyone have any idea on how to do th开发

I am trying to Skin a "hightlight" of a DropDownList item. I can not find any documentation on changing the skin of the items hightlight / rollover skin. Does anyone have any idea on how to do th开发者_C百科is?

Thanks! Michael


You should create a custom item renderer (see documentation) and set autoDrawBackground to false for it. Then use states as in a link above and define your graphics for hovered state.

P.S. The valid states for item renderer are: selected, hovered, normal.

0

精彩评论

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

关注公众号