From 7093603c1d0ab5bd476febffa7cbee91cb5f5349 Mon Sep 17 00:00:00 2001 From: "Kellner, Niklas" Date: Wed, 9 Jul 2025 13:06:01 +0200 Subject: [PATCH] [GTK] Background images behavior differs from Windows and Mac Document the intended behavior Contributes to: https://github.com/eclipse-platform/eclipse.platform.swt/issues/2290 --- .../Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java | 6 ++++++ .../Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java | 6 ++++++ .../Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java index 9b9150031df..1bd2ff7879c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java @@ -3547,6 +3547,9 @@ void setBackground () { *

* Note: This operation is a hint and may be overridden by the platform. *

+ *

+ * Note: The background color can be overridden by setting a background image. + *

* @param color the new color (or null) * * @exception IllegalArgumentException