Fix TUP-41770 On Ubuntu 20.04 Tooltip is displayed as a black box when

Talend light theme is selected
https://jira.talendforge.org/browse/TUP-41770
This commit is contained in:
kjwang-talend
2024-01-29 15:51:27 +08:00
parent 7ed11666dd
commit 4c15dda35a
3 changed files with 0 additions and 8 deletions

View File

@@ -78,8 +78,6 @@ public class SimpleHtmlFigure extends Figure {
private static Font boldFont = null;
private static Font boldItalicFont = null;
private static final Color DEFAULT_LABEL_COLOR = ITalendThemeService.getColor("NODE_FIGURE_LABEL_FORCEGROUND").orElse(Display.getDefault().getSystemColor(SWT.COLOR_BLACK));
/**
* Constructs a new SimpleHtmlFigure.
@@ -265,8 +263,6 @@ public class SimpleHtmlFigure extends Figure {
label.setFont(fontToUse);
if (colorStack.size() > 0) {
label.setForegroundColor(colorStack.get(colorStack.size() - 1));
} else {
label.setForegroundColor(DEFAULT_LABEL_COLOR); // Set label default foreground color
}
horizContainer.add(label);
}

View File

@@ -148,8 +148,6 @@ IEclipsePreferences#org-eclipse-ui-workbench:org-talend-themes-css-talend-base {
'SUBJOB_BORDER_FG=145,209,237'
'JOBLET_BORDER_FG=145,209,237'
/*GEF Job Editor*/
'NODE_FIGURE_LABEL_FORCEGROUND=255,255,255'
/*Context Table*/
'CONTEXT_TABLE_READONLY_FOREGROUND=163,163,163'
}

View File

@@ -52,8 +52,6 @@ IEclipsePreferences#org-eclipse-ui-workbench:org-talend-themes-css-talend-base {
'COLOR_EXPREESION_DISABLE=240,240,240'
'NODE_FIGURE_BACKGROUND=255,255,255'
'NODE_FIGURE_FORCEGROUND=0,0,0'
/*GEF Job Editor*/
'NODE_FIGURE_LABEL_FORCEGROUND=0,0,0'
/*Context Table*/
'CONTEXT_TABLE_READONLY_FOREGROUND=105,105,105'