Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2014-12-02 07:41:12 -0500
committerDani Megert2014-12-02 07:41:12 -0500
commita2987c28f40afd8b6ece3131b95b6fc945068812 (patch)
treec82b5124650268b799a7bf4113ba1d85b7f7b57a /org.eclipse.debug.ui/ui/org/eclipse/debug/ui
parente8a891c520ddd5530177d4b5120726896c4c53f2 (diff)
downloadeclipse.platform.debug-a2987c28f40afd8b6ece3131b95b6fc945068812.tar.gz
eclipse.platform.debug-a2987c28f40afd8b6ece3131b95b6fc945068812.tar.xz
eclipse.platform.debug-a2987c28f40afd8b6ece3131b95b6fc945068812.zip
Fixed bug 155411: [launch] Need a way to assign stdin to a file from Run DialogI20141202-0800
Signed-off-by: Sarika Sinha <sarika.sinha@in.ibm.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java
index 94e333365..23c2ef16b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java
@@ -265,9 +265,7 @@ public class CommonTab extends AbstractLaunchConfigurationTab {
private void createOutputCaptureComponent(Composite parent) {
Group group = SWTFactory.createGroup(parent, LaunchConfigurationsMessages.CommonTab_4, 5, 2, GridData.FILL_HORIZONTAL);
createInputCaptureComponent(group);
- Composite comp = SWTFactory.createComposite(group, 5, 5, GridData.FILL_BOTH);
-
-
+ Composite comp = SWTFactory.createComposite(group, group.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0);
fFileOutput = createCheckButton(comp, LaunchConfigurationsMessages.CommonTab_6);
fFileOutput.setLayoutData(new GridData(SWT.BEGINNING, SWT.NORMAL, false, false));
fFileOutput.addSelectionListener(new SelectionAdapter() {
@@ -350,10 +348,10 @@ public class CommonTab extends AbstractLaunchConfigurationTab {
}
private void createInputCaptureComponent(Composite parent){
- Composite comp1 = SWTFactory.createComposite(parent, parent.getFont(), 3, 3, GridData.FILL_BOTH, 0, 0);
+ Composite comp1 = SWTFactory.createComposite(parent, parent.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0);
fConsoleOutput = createCheckButton(comp1, LaunchConfigurationsMessages.CommonTab_5);
- Composite comp = SWTFactory.createComposite(comp1, 5, 5, GridData.FILL_BOTH);
+ Composite comp = SWTFactory.createComposite(comp1, comp1.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0);
fInputFileCheckButton = createCheckButton(comp, LaunchConfigurationsMessages.CommonTab_17);
GridData gd = new GridData(SWT.BEGINNING, SWT.NORMAL, false, false);
gd.horizontalSpan = 3;
@@ -367,7 +365,7 @@ public class CommonTab extends AbstractLaunchConfigurationTab {
}
});
- fInputFileLocationText = SWTFactory.createSingleText(comp, 1);
+ fInputFileLocationText = SWTFactory.createSingleText(comp, 2);
fInputFileLocationText.getAccessible().addAccessibleListener(new AccessibleAdapter() {
@Override
public void getName(AccessibleEvent e) {

Back to the top