Skip to content

Commit 9d5d708

Browse files
committed
Update styles for list-view
1 parent e4079a6 commit 9d5d708

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • shellfx-material/src/main/resources/com/techsenger/shellfx/material/style

shellfx-material/src/main/resources/com/techsenger/shellfx/material/style/material.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,15 @@
471471
/*
472472
ListView
473473
*/
474+
.list-view {
475+
476+
/* JavaFX incorrectly renders the height of a cell if it has a
477+
fractional size, so there is an empty space between rows that
478+
can be with different color. To prevent it default bg is added
479+
*/
480+
-fx-background-color: -color-bg-default;
481+
}
482+
474483
.density-m .list-view .list-cell {
475484
-fx-cell-size: 2em;
476485
-fx-padding: 0.4em 0.85em 0.3em 0.85em;

0 commit comments

Comments
 (0)