We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfeb6c6 commit d11eda0Copy full SHA for d11eda0
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/Section.java
@@ -316,7 +316,8 @@ private void putTitleBarColor(String key, Color color) {
316
@Override
317
protected void onPaint(PaintEvent e) {
318
Color bg = (titleColors != null) ? titleColors.getOrDefault(COLOR_BG, getBackground()) : getBackground();
319
- Color fg = (titleColors != null) ? getTitleBarForeground() : getForeground();
+ Color fg = (titleColors != null) ? (getTitleBarForeground() != null
320
+ ? getTitleBarForeground() : getForeground()) : getForeground();
321
Color border = (titleColors != null) ? titleColors.getOrDefault(COLOR_BORDER, fg) : fg;
322
323
GC gc = e.gc;
0 commit comments