From 85cc48d757e2c67ddd1c2c8529b53dacf4a8fbe2 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Sun, 11 Oct 2026 21:38:31 +0200 Subject: [PATCH] Paint flyout title text in the control's foreground color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The titles of the Structure and Palette flyouts were drawn in black on the control's own background, so they were unreadable in a dark theme. They now use the control's foreground color, which the theme sets. Assisted-by: multiple AI agents and layers of automated tooling 🤖 --- .../eclipse/wb/core/controls/flyout/FlyoutControlComposite.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.wb.core/src/org/eclipse/wb/core/controls/flyout/FlyoutControlComposite.java b/org.eclipse.wb.core/src/org/eclipse/wb/core/controls/flyout/FlyoutControlComposite.java index 11584f3d22..c9106f5da1 100644 --- a/org.eclipse.wb.core/src/org/eclipse/wb/core/controls/flyout/FlyoutControlComposite.java +++ b/org.eclipse.wb.core/src/org/eclipse/wb/core/controls/flyout/FlyoutControlComposite.java @@ -800,7 +800,7 @@ private void drawTitleText(GC gc, int x, int y) { } // draw text { - gc.setForeground(ColorConstants.black); + gc.setForeground(getForeground()); gc.setFont(TITLE_FONT); gc.drawText(m_text, x, 0); x += textSize.x;