I created a JavaFX ComboBox with JavaFX Scene Builder 21.0.0.
I set the text color to white, but the text is still black.
Any ideas how to resolve this issue?
1
One possible way to resolve the issue can be adding a stylesheet to Scene Builder:
Css code might look like this:
.combo-box .list-cell {
-fx-text-fill: white;
}
.combo-box-base .arrow-button .arrow {
-fx-background-color: white;
}