Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2013-11-05 13:55:52 +0000
committerLars Vogel2013-11-05 13:59:25 +0000
commitb2eb153ae57dd6cb437dc03921ce0ee23affdf70 (patch)
tree7177d66455d0ed93d6c5957eb0af53f32b2fbf18
parent634288dd3eb23fe7add3906c26aa88e371146fdc (diff)
downloadeclipse.platform.ui-b2eb153ae57dd6cb437dc03921ce0ee23affdf70.tar.gz
eclipse.platform.ui-b2eb153ae57dd6cb437dc03921ce0ee23affdf70.tar.xz
eclipse.platform.ui-b2eb153ae57dd6cb437dc03921ce0ee23affdf70.zip
Bug 420835 - DnDAddon - Replace Green with a nicer color
Alignment of the toolbar drag and drop color with the color for part dragging Change-Id: I54f739961da4693d526e82ea58c300e55fba6631 Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/TrimDropAgent.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/TrimDropAgent.java b/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/TrimDropAgent.java
index 5cb47348c67..9090b2d2d9d 100644
--- a/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/TrimDropAgent.java
+++ b/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/TrimDropAgent.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 IBM Corporation and others.
+ * Copyright (c) 2012 - 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Lars Vogel (Lars.Vogel@gmail.com) - Bug 420835
******************************************************************************/
package org.eclipse.e4.ui.workbench.addons.dndaddon;
@@ -203,7 +204,7 @@ public class TrimDropAgent extends DropAgent {
dragElement.setToBeRendered(true);
Control trimCtrl = (Control) dragElement.getWidget();
- trimCtrl.setBackground(trimCtrl.getDisplay().getSystemColor(SWT.COLOR_GREEN));
+ trimCtrl.setBackground(trimCtrl.getDisplay().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW));
}
@Override

Back to the top