MFXListView set background color #333
-
I'm trying to set the background color for an MFXListView, but it doesn't work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
In JavaFX, the background color of the
If this doesn't help, edit your question and provide an MRE so this can be examined much more closely. Edit:Reference Stack Overflow. |
Beta Was this translation helpful? Give feedback.
-
Still the styling of the MFXListView is done on it's cells. There are many psuedoclasses assigned to
You can reference the OpenJFX documentation about pseudoclasses on ListCell, am sure those will be able work on MFXListCell too. |
Beta Was this translation helpful? Give feedback.
Ok then, set the
mfx-list-cell
background color to transparent. Then set thevirtual-flow
background color to transparent too(use.mfx-list-view .virtual-flow
). And finally setmfx-list-view
background color to your choice.