ref #8450: add label to specimen filter
authorKatja Luther <k.luther@bgbm.org>
Wed, 11 Mar 2020 13:19:21 +0000 (14:19 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 11 Mar 2020 13:19:21 +0000 (14:19 +0100)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/SpecimenSelectionDialog.java

index cad993010e7b16e83257efbfee543643983bddf9..d8b2fd1ffd87e344cf4ee9f98f891731374070de 100644 (file)
@@ -82,8 +82,15 @@ public class SpecimenSelectionDialog extends Dialog {
         composite_1.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 2, 1));
         composite_1.setLayout(new GridLayout(4, false));
 
+        Label l_textFilter = new Label(composite_1, SWT.NULL);
+        GridData data_label = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
+
+
+        l_textFilter.setLayoutData(data_label);
+        l_textFilter.setText("Specimen Filter");
+        l_textFilter.setAlignment(SWT.RIGHT);
         txtTextFilter = new Text(composite_1, SWT.BORDER);
-        txtTextFilter.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1));
+        txtTextFilter.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
         txtTextFilter.setText(TEXT_FILTER_DEFAULT);
         txtTextFilter.addFocusListener(new FocusListener() {