1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug #186231 : make dialog resizable.

Patch by Bala Torati is applied.
This commit is contained in:
Oleg Krasilnikov 2007-05-11 09:37:47 +00:00
parent b9d1aa9b5d
commit b6e7f83844

View file

@ -96,7 +96,7 @@ public class TemplateInputDialog extends Dialog {
protected TemplateInputDialog(Shell parentShell) { protected TemplateInputDialog(Shell parentShell) {
super(parentShell); super(parentShell);
setShellStyle(getShellStyle() | SWT.RESIZE);
} }
/* /*
@ -108,9 +108,7 @@ public class TemplateInputDialog extends Dialog {
protected void configureShell(Shell shell) { protected void configureShell(Shell shell) {
super.configureShell(shell); super.configureShell(shell);
this.shell = shell; this.shell = shell;
shell.setBounds(420, 280, 300, 160);
display = shell.getDisplay(); display = shell.getDisplay();
} }
/* /*