mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +02:00
fix for bug 187037 - make "Add Watch Expression" dialog resizable
This commit is contained in:
parent
09a992d20a
commit
91122b9e89
1 changed files with 3 additions and 1 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* QNX Software Systems - Initial API and implementation
|
* QNX Software Systems - Initial API and implementation
|
||||||
|
* IBM Corporation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.debug.internal.ui.actions;
|
package org.eclipse.cdt.debug.internal.ui.actions;
|
||||||
|
|
||||||
|
@ -44,6 +45,7 @@ public class ExpressionDialog extends Dialog {
|
||||||
*/
|
*/
|
||||||
public ExpressionDialog( Shell parentShell, String expression ) {
|
public ExpressionDialog( Shell parentShell, String expression ) {
|
||||||
super( parentShell );
|
super( parentShell );
|
||||||
|
setShellStyle(getShellStyle() | SWT.RESIZE);
|
||||||
if ( expression != null )
|
if ( expression != null )
|
||||||
fExpression = expression;
|
fExpression = expression;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue