ref #7806 Make description text scrollabel and multi-line
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 5 Oct 2018 06:47:03 +0000 (08:47 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 5 Oct 2018 06:47:03 +0000 (08:47 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/GfBioTerminologyImportComposite.java

index 232b9e0db5413839676452ee70b2e4f1493437ba..db19ac694e2888b813686cbcadcc9c52a4473e4c 100644 (file)
@@ -148,10 +148,10 @@ public class GfBioTerminologyImportComposite extends Composite{
         lblNewLabel_2.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
         lblNewLabel_2.setText("Description");
 
-        txtDescription = new Text(composite_1, SWT.WRAP);
+        txtDescription = new Text(composite_1, SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);
         txtDescription.setBackground(SWTResourceManager.getColor(SWT.COLOR_WIDGET_BACKGROUND));
         txtDescription.setEditable(false);
-        txtDescription.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
+        txtDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
 
         lblNewLabel_3 = new Label(composite_1, SWT.NONE);
         lblNewLabel_3.setText("Synonyms");