The ChoiceBox control does not adjust its text fill based on the -fx-base color. The text in the ChoiceBox will stay black even when the control is a dark color, making it very hard to read. Simply adding:
.choice-box {
-fx-text-fill: -fx-text-base-color;
}
fixes the problem. I've attached before and after images to this bug illustrating the problem.
.choice-box {
-fx-text-fill: -fx-text-base-color;
}
fixes the problem. I've attached before and after images to this bug illustrating the problem.