Skip to content

Commit

Permalink
Fix spotbugs#1477 by removing invalid NO_BACKGROUND style
Browse files Browse the repository at this point in the history
  • Loading branch information
msternermxy authored Aug 5, 2021
1 parent 542545b commit 6640a17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private void createBrowser(Composite parent) {
data.grabExcessHorizontalSpace = true;
data.grabExcessVerticalSpace = true;
try {
browser = new Browser(parent, SWT.NO_BACKGROUND);
browser = new Browser(parent, SWT.NONE);
browser.setLayoutData(data);
browser.setBackground(parent.getBackground());
browser.addOpenWindowListener(new OpenWindowListener() {
Expand Down

0 comments on commit 6640a17

Please sign in to comment.