JavaFX combobox css styling


Question

I'm trying to customize a combo box in JavaFX through css. I can't customize the "arrow button" on the right (I want it to disappear, or to have a custom graphic, for example).

I have been checking the default caspian.css, but no matter what modifications I do to the .combo-box section, the arrow button is not affected.

Any idea of where this can be edited?

1
5
12/2/2016 2:06:07 PM

Using the following CSS in the style sheet will get rid of all of the ComboBox arrows

.combo-box .arrow, .combo-box .arrow-button{
    -fx-background-color: transparent;
}
5
8/12/2013 5:57:46 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon