Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm trying to customice combobox in JavaFX trough css and i can't customice the "arrow button" on the right (i want it to desapear, 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 can this be edited?

share|improve this question
1  
searching more information, i can achive some changes trough .combo-box .arrow{...} and .combo-box .arrow-button {...} classes –  tomasofen Jun 8 at 2:09
add comment

1 Answer

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;
}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.