From b6e7f838444e90a147adc0e11c5d84f13c66bde3 Mon Sep 17 00:00:00 2001 From: Oleg Krasilnikov Date: Fri, 11 May 2007 09:37:47 +0000 Subject: [PATCH] Bug #186231 : make dialog resizable. Patch by Bala Torati is applied. --- .../cdt/ui/templateengine/pages/TemplateInputDialog.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.ui/templateengine/org/eclipse/cdt/ui/templateengine/pages/TemplateInputDialog.java b/core/org.eclipse.cdt.ui/templateengine/org/eclipse/cdt/ui/templateengine/pages/TemplateInputDialog.java index 3622f2472a7..754a2bb1745 100644 --- a/core/org.eclipse.cdt.ui/templateengine/org/eclipse/cdt/ui/templateengine/pages/TemplateInputDialog.java +++ b/core/org.eclipse.cdt.ui/templateengine/org/eclipse/cdt/ui/templateengine/pages/TemplateInputDialog.java @@ -96,7 +96,7 @@ public class TemplateInputDialog extends Dialog { protected TemplateInputDialog(Shell parentShell) { super(parentShell); - + setShellStyle(getShellStyle() | SWT.RESIZE); } /* @@ -108,9 +108,7 @@ public class TemplateInputDialog extends Dialog { protected void configureShell(Shell shell) { super.configureShell(shell); this.shell = shell; - shell.setBounds(420, 280, 300, 160); display = shell.getDisplay(); - } /*