开发者

Flex: How to change text color of component label/selected item in ComboBox?

When I set style color, it changes both the text color for the selected item/component label and the text in the dropdown menu.

color

Type: uint Format: Color CSS Inheritance: yes

Color of text in the component, including the component label. The defau开发者_开发知识库lt value is 0x0B333C.

I would really like the label to be white and the text to be black. Is that possible?


I found the solution:

ComboBox {
   iconColor: #FFFFFF;
   textInputStyleName: cboHeaderColor;
}

.cboHeaderColor {
    color: #FFFFFF;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜