Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/TextWithLabelElement.java | ||
---|---|---|
66 | 66 |
label = formFactory.createLabel(getLayoutComposite(), |
67 | 67 |
CdmUtils.Nz(labelString), SWT.NULL); |
68 | 68 |
addControl(label); |
69 |
label.setLayoutData(CdmFormFactory.LEFT());
|
|
69 |
label.setLayoutData(LayoutConstants.LEFT());
|
|
70 | 70 |
} |
71 | 71 |
|
72 | 72 |
int scrollStyle = textHeight == null ? SWT.NULL |
... | ... | |
104 | 104 |
}); |
105 | 105 |
} |
106 | 106 |
|
107 |
TableWrapData layoutData = CdmFormFactory.FILL();
|
|
107 |
TableWrapData layoutData = LayoutConstants.FILL();
|
|
108 | 108 |
if (textHeight != null && textHeight > 0) { |
109 | 109 |
(layoutData).heightHint = textHeight; |
110 | 110 |
} |
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)