Skip to content

Commit

Permalink
Only set background color on tree if "linesVisible" is false
Browse files Browse the repository at this point in the history
On macOS setting "linesVisible" to true creates an zebra styled pattern
on the tree. If we now set the background color via CSS
on this tree that pattern would be gone. Setting the background color
via CSS on a tree that has "linesVisible" to false does not do any harm.
  • Loading branch information
BeckerWdf committed Oct 28, 2024
1 parent d4d7daa commit 9e0cb2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bundles/org.eclipse.ui.themes/css/e4_preview_mac.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ CTabFolder Canvas {
}

.View Composite,
.View Composite Tree,
.View Composite Label,
.View ToolBar,
.View Group,
Expand Down Expand Up @@ -145,6 +144,11 @@ CTabFolder Canvas {
swt-tabBackground-color: #ffffff;
}


.View Composite Tree[swt-lines-visible=false]{
background-color: #f8f8f8;
}

.View Composite PrependingAsteriskFilteredTree,
.View PrependingAsteriskFilteredTree Text,
.View Group Text,
Expand Down

0 comments on commit 9e0cb2a

Please sign in to comment.