There is a lot of issues with ComboBox styles.
ComboBox does not load cell styles.
If you try set them programmatically, setting a cellFactory, you must use combo.setStyle("-fx-background-color: linear-gradient(to bottom...") because combo.getStyleClass().add("styleclass") neither works.
Images are not loaded as reported inRT-28450.
And there is a white unstyled box as options background when you open a ComboBox in Linux.
ComboBox does not load cell styles.
If you try set them programmatically, setting a cellFactory, you must use combo.setStyle("-fx-background-color: linear-gradient(to bottom...") because combo.getStyleClass().add("styleclass") neither works.
Images are not loaded as reported in
And there is a white unstyled box as options background when you open a ComboBox in Linux.
- relates to
-
JDK-8124951 A white unstyled box appears as options background when you open a ComboBox in Linux. (RT-28916 Related)
-
- Closed
-