mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 390245 - [hover] Wrong text color for expression hover
This commit is contained in:
parent
84e46a7b17
commit
521f90af28
1 changed files with 11 additions and 1 deletions
|
@ -380,6 +380,7 @@ public class ExpressionInformationControlCreator implements IInformationControlC
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
setForegroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND));
|
||||||
setBackgroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND));
|
setBackgroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -428,7 +429,16 @@ public class ExpressionInformationControlCreator implements IInformationControlC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
public void setForegroundColor(Color foreground) {
|
||||||
|
super.setForegroundColor(foreground);
|
||||||
|
if (fDetailPaneComposite != null) {
|
||||||
|
fDetailPaneComposite.setForeground(foreground);
|
||||||
|
}
|
||||||
|
fTree.setForeground(foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setBackgroundColor(Color background) {
|
public void setBackgroundColor(Color background) {
|
||||||
super.setBackgroundColor(background);
|
super.setBackgroundColor(background);
|
||||||
if (fDetailPaneComposite != null) {
|
if (fDetailPaneComposite != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue