Skip to content

Commit

Permalink
Fix toolbar render problems in dark mode on resizing #536
Browse files Browse the repository at this point in the history
- Toolbar has in dark mode now a dedicated color
  instead of css inheritance. A parent container
  change by resizing does not change the toolbar color any longer
- The color is choosen in way that the main toolbar looks as expected
  before. Also the toggle border is now visible again, which could
  address #467 as well.

Signed-off-by: Albert Tregnaghi <albert.tregnaghi@gmail.com>
  • Loading branch information
de-jcup committed Jan 30, 2023
1 parent 765374d commit 71de89c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ TabFolder > Composite > * > * { /* [style~='SWT.NO_BACKGROUND'] <- generate E4 n
color:'#org-eclipse-ui-workbench-DARK_FOREGROUND';
}

/* Toolbar should inherit the colors of its container to avoid drawing artifacts*/
ToolBar {
background-color:inherit;
/* Because resizing leads to a change in style inheritance we do not use 'inherit', but define an explicit background color here */
background-color: '#org-eclipse-ui-workbench-DARK_BACKGROUND';
}

Combo,
Expand Down

0 comments on commit 71de89c

Please sign in to comment.