Fix glitches
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench / src / org / argeo / cms / ui / workbench / internal / jcr / parts / GenericPropertyPage.java
index a38e30cd14b54d28be19d6ddda741ccddc3ac8cd..83f9c595ac2c9f5c9ff5ad6e7425e03471084a6e 100644 (file)
@@ -61,13 +61,13 @@ public class GenericPropertyPage extends FormPage implements WorkbenchConstants
        protected void createFormContent(IManagedForm managedForm) {
                ScrolledForm form = managedForm.getForm();
                form.setText(WorkbenchUiPlugin.getMessage("genericNodePageTitle"));
-
-               Composite body = form.getBody();
+               Composite innerBox = form.getBody();
+               //Composite innerBox = new Composite(body, SWT.NO_FOCUS);
                FillLayout layout = new FillLayout();
                layout.marginHeight = 5;
                layout.marginWidth = 5;
-               body.setLayout(layout);
-               createComplexTree(body);
+               innerBox.setLayout(layout);
+               createComplexTree(innerBox);
                // TODO TreeColumnLayout triggers a scroll issue with the form:
                // The inside body is always to big and a scroll bar is shown
                // Composite tableCmp = new Composite(body, SWT.NO_FOCUS);