Revision b1fa9884
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/AbstractComboElement.java | ||
---|---|---|
54 | 54 |
addControl(label); |
55 | 55 |
|
56 | 56 |
// create combo |
57 |
combo = new CCombo(getLayoutComposite(), SWT.READ_ONLY); |
|
57 |
combo = new CCombo(getLayoutComposite(), SWT.READ_ONLY|SWT.BORDER); |
|
58 |
|
|
58 | 59 |
addControl(combo); |
59 | 60 |
TableWrapData fill_HORIZONTALLY = LayoutConstants.FILL_HORIZONTALLY(); |
60 | 61 |
combo.setLayoutData(fill_HORIZONTALLY); |
... | ... | |
81 | 82 |
if (label != null) { |
82 | 83 |
label.setBackground(color); |
83 | 84 |
} |
84 |
colorId = !irrelevant ? Resources.COLOR_COMPOSITE_IRRELEVANT |
|
85 |
: Resources.COLOR_COMPOSITE_BACKGROUND; |
|
86 |
color = AbstractUtility.getColor(colorId); |
|
87 |
combo.setForeground(color); |
|
85 |
// colorId = !irrelevant ? Resources.COLOR_COMPOSITE_IRRELEVANT
|
|
86 |
// : Resources.COLOR_COMPOSITE_BACKGROUND;
|
|
87 |
// color = AbstractUtility.getColor(colorId);
|
|
88 |
// combo.setForeground(color);
|
|
88 | 89 |
|
89 | 90 |
} |
90 | 91 |
|
Also available in: Unified diff
add border and correct color for termCombo element