mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Patch for bug 187150 by Jason Montojo - Use Default checkbox text truncated
This commit is contained in:
parent
64d2ab62d8
commit
1fdc9f49a0
1 changed files with 2 additions and 4 deletions
|
@ -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
|
* 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
|
||||||
|
@ -99,7 +99,6 @@ public class WorkingDirectoryBlock extends CLaunchConfigurationTab {
|
||||||
// WorkbenchHelp.setHelp(group,
|
// WorkbenchHelp.setHelp(group,
|
||||||
// IJavaDebugHelpContextIds.WORKING_DIRECTORY_BLOCK);
|
// IJavaDebugHelpContextIds.WORKING_DIRECTORY_BLOCK);
|
||||||
GridLayout workingDirLayout = new GridLayout();
|
GridLayout workingDirLayout = new GridLayout();
|
||||||
workingDirLayout.numColumns = 2;
|
|
||||||
workingDirLayout.makeColumnsEqualWidth = false;
|
workingDirLayout.makeColumnsEqualWidth = false;
|
||||||
group.setLayout(workingDirLayout);
|
group.setLayout(workingDirLayout);
|
||||||
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
|
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
|
||||||
|
@ -111,14 +110,13 @@ public class WorkingDirectoryBlock extends CLaunchConfigurationTab {
|
||||||
|
|
||||||
fWorkingDirText = new Text(group, SWT.SINGLE | SWT.BORDER);
|
fWorkingDirText = new Text(group, SWT.SINGLE | SWT.BORDER);
|
||||||
gd = new GridData(GridData.FILL_HORIZONTAL);
|
gd = new GridData(GridData.FILL_HORIZONTAL);
|
||||||
gd.horizontalSpan = 2;
|
|
||||||
fWorkingDirText.setLayoutData(gd);
|
fWorkingDirText.setLayoutData(gd);
|
||||||
fWorkingDirText.setFont(font);
|
fWorkingDirText.setFont(font);
|
||||||
fWorkingDirText.addModifyListener(fListener);
|
fWorkingDirText.addModifyListener(fListener);
|
||||||
|
|
||||||
fUseDefaultWorkingDirButton = new Button(group, SWT.CHECK);
|
fUseDefaultWorkingDirButton = new Button(group, SWT.CHECK);
|
||||||
fUseDefaultWorkingDirButton.setText(LaunchMessages.getString("WorkingDirectoryBlock.Use_default")); //$NON-NLS-1$
|
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.setLayoutData(gd);
|
||||||
fUseDefaultWorkingDirButton.setFont(font);
|
fUseDefaultWorkingDirButton.setFont(font);
|
||||||
fUseDefaultWorkingDirButton.addSelectionListener(fListener);
|
fUseDefaultWorkingDirButton.addSelectionListener(fListener);
|
||||||
|
|
Loading…
Add table
Reference in a new issue