import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
+/** Pick up a user within a hierarchy. */
public class ChooseUserDialog extends CmsMessageDialog {
private ContentSession contentSession;
private CmsUserManager cmsUserManager;
@Override
protected Control createInputArea(Composite parent) {
- SashForm sashForm = new SashForm(parent, SWT.VERTICAL);
+ SashForm sashForm = new SashForm(parent, SWT.HORIZONTAL);
CmsSwtUtils.fill(sashForm);
HierarchyUnitPart hierarchyPart = new HierarchyUnitPart(contentSession, cmsUserManager);
hierarchyPart.refresh();
- sashForm.setWeights(new int[] { 30, 70 });
+ sashForm.setWeights(new int[] { 40, 60 });
return sashForm;
}
@Override
protected Point getInitialSize() {
- return new Point(600, 800);
+ return new Point(800, 600);
}
}