简体   繁体   English

如何在Datechooser中更改所选日期的文本颜色?

[英]How can I change the selected date text-color in a Datechooser?

I'm trying to change the selected date text-color . 我正在尝试更改选定的日期text-color

<fx:Style>

.dateChooser{
            selection-color:#000000;
        }

</fx:Style>`

I changed my selected date (FEB 23) selection-color to black, but I also need to change the text-color, let's say to white. 我将所选日期(FEB 23)选择颜色更改为黑色,但我还需要将文本颜色更改为白色。

Any ideas? 有任何想法吗?

This article talks specifically about the DateField control, but you can probably use it for the DateChooser as well. 本文专门讨论了DateField控件,但您也可以将其用于DateChooser

http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/ http://blog.flexexamples.com/2007/12/19/customizing-the-current-date-in-the-flex-datefield-control/

您可以在此处签出色彩斑date的日期选择器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM