0

I want all the cell to be white. So I use...

.list-cell:selected {
   -fx-background-color: #fff;
} 

...in the CSS, but it doesn't work. What should I do?

fabian
  • 80,457
  • 12
  • 86
  • 114
lookno
  • 41
  • 1

1 Answers1

-1

Take a look at this question:

Styling a TableView in CSS (JavaFX)

Also... .list-cell has nothing to do with tables. Where did you get the idea to use that?

Community
  • 1
  • 1
MichaelK
  • 2,859
  • 1
  • 14
  • 16