Skip to content

Commit 4d7d8a2

Browse files
committed
Only set background color on tree if "linesVisible" is false
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.
1 parent 5c9af91 commit 4d7d8a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bundles/org.eclipse.ui.themes/css/e4_preview_mac.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ CTabFolder Canvas {
103103
}
104104

105105
.View Composite,
106-
.View Composite Tree,
107106
.View Composite Label,
108107
.View ToolBar,
109108
.View Group,
@@ -145,6 +144,11 @@ CTabFolder Canvas {
145144
swt-tabBackground-color: #ffffff;
146145
}
147146

147+
148+
.View Composite Tree[swt-lines-visible=false]{
149+
background-color: #f8f8f8;
150+
}
151+
148152
.View Composite PrependingAsteriskFilteredTree,
149153
.View PrependingAsteriskFilteredTree Text,
150154
.View Group Text,

0 commit comments

Comments
 (0)