Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/launch
diff options
context:
space:
mode:
authorVivian Kong2007-05-16 20:25:51 +0000
committerVivian Kong2007-05-16 20:25:51 +0000
commit1fdc9f49a0b58ee11b044efae9f9776d5628194a (patch)
tree462189a3cfe186b0a92989188903df24b655beda /launch
parent64d2ab62d841e6a4c2cf506698d89d2cb12bb2e0 (diff)
downloadorg.eclipse.cdt-1fdc9f49a0b58ee11b044efae9f9776d5628194a.tar.gz
org.eclipse.cdt-1fdc9f49a0b58ee11b044efae9f9776d5628194a.tar.xz
org.eclipse.cdt-1fdc9f49a0b58ee11b044efae9f9776d5628194a.zip
Patch for bug 187150 by Jason Montojo - Use Default checkbox text truncated
Diffstat (limited to 'launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/WorkingDirectoryBlock.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/WorkingDirectoryBlock.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/WorkingDirectoryBlock.java
index 8347cb4d625..01b2c19ac48 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/WorkingDirectoryBlock.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/WorkingDirectoryBlock.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * Copyright (c) 2000, 2007 IBM Corporation 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
@@ -99,7 +99,6 @@ public class WorkingDirectoryBlock extends CLaunchConfigurationTab {
// WorkbenchHelp.setHelp(group,
// IJavaDebugHelpContextIds.WORKING_DIRECTORY_BLOCK);
GridLayout workingDirLayout = new GridLayout();
- workingDirLayout.numColumns = 2;
workingDirLayout.makeColumnsEqualWidth = false;
group.setLayout(workingDirLayout);
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
@@ -111,14 +110,13 @@ public class WorkingDirectoryBlock extends CLaunchConfigurationTab {
fWorkingDirText = new Text(group, SWT.SINGLE | SWT.BORDER);
gd = new GridData(GridData.FILL_HORIZONTAL);
- gd.horizontalSpan = 2;
fWorkingDirText.setLayoutData(gd);
fWorkingDirText.setFont(font);
fWorkingDirText.addModifyListener(fListener);
fUseDefaultWorkingDirButton = new Button(group, SWT.CHECK);
fUseDefaultWorkingDirButton.setText(LaunchMessages.getString("WorkingDirectoryBlock.Use_default")); //$NON-NLS-1$
- gd = new GridData(GridData.FILL_HORIZONTAL);
+ gd = new GridData(GridData.FILL, GridData.BEGINNING, true, false);
fUseDefaultWorkingDirButton.setLayoutData(gd);
fUseDefaultWorkingDirButton.setFont(font);
fUseDefaultWorkingDirButton.addSelectionListener(fListener);

Back to the top