1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

fix for bug 187037 - make "Add Watch Expression" dialog resizable

This commit is contained in:
Vivian Kong 2007-05-16 14:04:32 +00:00
parent 09a992d20a
commit 91122b9e89

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2004, 2005 QNX Software Systems and others.
* Copyright (c) 2004, 2007 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -7,6 +7,7 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
* IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.debug.internal.ui.actions;
@ -44,6 +45,7 @@ public class ExpressionDialog extends Dialog {
*/
public ExpressionDialog( Shell parentShell, String expression ) {
super( parentShell );
setShellStyle(getShellStyle() | SWT.RESIZE);
if ( expression != null )
fExpression = expression;
}