fixed a couple of issues that surfaced through testing
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / editor / descriptiontree / detailpage / DistributionMapDetailsPage.java
index be5a0306a1241da49af642910a3325d1ad2b60af..b14d442b0f9fe3eaf28499163c1ba78e0834503e 100644 (file)
@@ -4,6 +4,7 @@
 package eu.etaxonomy.taxeditor.editor.descriptiontree.detailpage;\r
 \r
 import org.eclipse.swt.SWT;\r
+import org.eclipse.swt.layout.GridData;\r
 import org.eclipse.swt.widgets.Composite;\r
 \r
 /**\r
@@ -27,5 +28,6 @@ public class DistributionMapDetailsPage extends AbstractDescriptionDetailsPage {
        @Override\r
        protected void createDescriptionContents(Composite parent) {\r
                descriptionSection = new DistributionMapDetailsSection(parent, this, SWT.WRAP);\r
+               descriptionSection.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));\r
        }\r
 }\r