Skip to content

MFXListView set background color #333

Answered by infinite-dev22
Lairon1 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok then, set the mfx-list-cell background color to transparent. Then set the virtual-flow background color to transparent too(use .mfx-list-view .virtual-flow). And finally set mfx-list-view background color to your choice.

.mfx-list-cell {
   -fx-background-color: transparent;
   -fx-border-color: transparent;
}

.mfx-list-view .virtual-flow {
    -fx-background-color: transparent;
}

.mfx-list-view {
    -fx-background-color: red;
}

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@infinite-dev22
Comment options

@infinite-dev22
Comment options

@Lairon1
Comment options

@infinite-dev22
Comment options

Answer selected by Lairon1
@Lairon1
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants