Merge remote-tracking branch 'origin/master' into v2.x
[gpl/argeo-suite.git] / core / org.argeo.suite.ui / src / org / argeo / suite / ui / DefaultEditionLayer.java
index d017ee7d7f5f0a33897bfe66085dd8b289aa1853..68081b4e646d944b9066c855f98cdc941b48f2ff 100644 (file)
@@ -105,9 +105,9 @@ public class DefaultEditionLayer implements SuiteLayer {
        }
 
        public void destroy(BundleContext bundleContext, Map<String, String> properties) {
-               
+
        }
-       
+
        public void setEntryArea(CmsUiProvider entryArea) {
                this.entryArea = entryArea;
        }
@@ -159,7 +159,11 @@ public class DefaultEditionLayer implements SuiteLayer {
                        }
                        if (startMaximized)
                                setMaximizedControl(editorArea);
-                       editorArea.setLayout(new GridLayout());
+                       GridLayout editorAreaLayout = new GridLayout();
+                       editorAreaLayout.verticalSpacing = 0;
+                       editorAreaLayout.marginBottom = 0;
+                       editorAreaLayout.marginHeight = 0;
+                       editorArea.setLayout(editorAreaLayout);
 
                        if (DefaultEditionLayer.this.workArea == null) {
                                tabbedArea = createTabbedArea(editorArea, theme);