Author: scabanovich
Date: 2007-07-19 06:39:13 -0400 (Thu, 19 Jul 2007)
New Revision: 2518
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/ComboBoxFieldEditor.java
Log:
JBIDE-567
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/ComboBoxFieldEditor.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/ComboBoxFieldEditor.java 2007-07-19
10:25:19 UTC (rev 2517)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/ComboBoxFieldEditor.java 2007-07-19
10:39:13 UTC (rev 2518)
@@ -169,11 +169,11 @@
if (border!=null) {
BorderedControl borderedControl = new BorderedControl(parent, SWT.NONE, border);
comboField = new CCombo(borderedControl, style);
+ comboField.setBackground(bg);
} else {
comboField = new CCombo(parent, style);
}
comboField.setFont(font);
-/// comboField.setBackground(bg);
comboField.setForeground(fg);
String[] tags = getTags();
@@ -416,7 +416,7 @@
Color bg;
if (enabled) {
bg = getSettings().getColor("Combo.Background");
- if (bg==null) bg = Display.getDefault().getSystemColor(SWT.COLOR_WHITE);
+ if (bg==null) bg = Display.getDefault().getSystemColor(SWT.COLOR_WHITE);
} else {
bg = getSettings().getColor("Combo.Background.Disabled");
if (bg==null) bg = Display.getDefault().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND);
Show replies by date