Composite activateComp = new Composite(composite, SWT.NULL);
GridLayout layout = new GridLayout();
layout.numColumns = 2;
+
activateComp.setLayout(layout);
- GridData gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);
+ GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
activateComp.setLayoutData(gridData);
+
return activateComp;
}