Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2016-07-08 04:03:59 -0400
committerAnton Leherbauer2016-07-08 04:04:05 -0400
commitbd2458555d4d635ee4be2458a85f5c10c953cfb9 (patch)
tree3948daef6fa484697de9f3d043bca4cf0eb126ab /target_explorer
parent72c9f8995912207a44d31c82f74056248e882dba (diff)
downloadorg.eclipse.tcf-bd2458555d4d635ee4be2458a85f5c10c953cfb9.tar.gz
org.eclipse.tcf-bd2458555d4d635ee4be2458a85f5c10c953cfb9.tar.xz
org.eclipse.tcf-bd2458555d4d635ee4be2458a85f5c10c953cfb9.zip
Target Explorer: Fix form toolkit background color in dialogs
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java
index 854648e87..2fdbf1999 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2013, 2015 Wind River Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2013, 2016 Wind River Systems, Inc. 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 http://www.eclipse.org/legal/epl-v10.html
@@ -114,6 +114,7 @@ public abstract class AbstractSectionDialog extends CustomTitleAreaDialog implem
setMessage(message);
FormToolkit toolkit = new FormToolkit(getShell().getDisplay());
+ toolkit.setBackground(parent.getBackground());
ScrolledForm scrolledForm = new CustomFormToolkit(toolkit).createScrolledForm(parent, null, true);
scrolledForm.setLayoutData(getSectionAreaLayoutData());
scrolledForm.getBody().setLayout(FormLayoutFactory.createClearGridLayout(false, 1));

Back to the top