Skip to content

Commit

Permalink
Style process method input widgets white.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Aug 17, 2023
1 parent a6d4764 commit 69be3cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@ TabFolder {
}

Table {
background-color: #FFFFFF;
background-color: #FFFFFF;
}

#MethodWidgetItem {
background-color: #FFFFFF;
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.FileDialog;
import org.eclipse.swt.widgets.Label;
Expand Down Expand Up @@ -396,6 +397,8 @@ private Control createTextWidgetMultiLine(Composite parent) {
private Control createTextWidget(Composite parent, int style, GridData gridData) {

Text text = new Text(parent, style);
text.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_TRANSPARENT)); // workaround
text.setData("org.eclipse.e4.ui.css.id", "MethodWidgetItem");
text.setText(getValueAsString());
text.setToolTipText(inputValue.getDescription());
text.setLayoutData(gridData);
Expand Down

0 comments on commit 69be3cf

Please sign in to comment.