if (isAllowOverride || isAdminPreference){
Composite activateComp = createComposite(composite);
-
+ Label separator= new Label(activateComp, SWT.HORIZONTAL | SWT.SEPARATOR);
+ GridData sepGrid = createTextGridData();
+ separator.setLayoutData(sepGrid);
+ separator.setVisible(false);
final Button activateCheckButton = new Button(activateComp, SWT.CHECK);
activateCheckButton.setText(Messages.ChecklistEditorGeneralPreference_enable);
activateCheckButton.setSelection(isEditorActivated);
child = createComposite(composite);
child.setVisible(isEditorActivated);
- Label separator= new Label(child, SWT.HORIZONTAL | SWT.SEPARATOR);
- GridData sepGrid = createTextGridData();
+ separator= new Label(child, SWT.HORIZONTAL | SWT.SEPARATOR);
+ sepGrid = createTextGridData();
GridData textGrid = createTextGridData();
textGrid.verticalSpan = 2;