import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
/**
super(shell);
fIsKernel = isKernel;
fSessions = Arrays.copyOf(sessions, sessions.length);
+ setShellStyle(SWT.RESIZE);
}
// ------------------------------------------------------------------------
// Main dialog panel
fDialogComposite = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout(1, true);
- fDialogComposite.setLayout(layout);
- Label label = new Label(fDialogComposite, SWT.NONE);
- // a simple way to make dialog wider :-)
- label.setText(" "); //$NON-NLS-1$
+ fDialogComposite.setLayout(layout);
+ fDialogComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
+
fSessionsGroup = new Group(fDialogComposite, SWT.SHADOW_NONE);
fSessionsGroup.setText(Messages.TraceControl_EnableEventsSessionGroupName);
layout = new GridLayout(1, true);