diff options
author | Paul Pazderski | 2020-02-20 15:28:02 +0000 |
---|---|---|
committer | Dani Megert | 2020-02-22 14:31:40 +0000 |
commit | a834b7a451df877aaf11d2d01477e2b84f064f77 (patch) | |
tree | 88109059009cc9fe419ec54aa9f2fb96ddf33a1b | |
parent | 75d98efcca44f8fda51a401f266d806de58b148d (diff) | |
download | eclipse.platform.debug-a834b7a451df877aaf11d2d01477e2b84f064f77.tar.gz eclipse.platform.debug-a834b7a451df877aaf11d2d01477e2b84f064f77.tar.xz eclipse.platform.debug-a834b7a451df877aaf11d2d01477e2b84f064f77.zip |
Bug 560353 - Sub-option "Interpret Carriage Return ..." must be indentedX20200223-1900X20200223-0700X20200223-0250I20200223-2335I20200223-1800I20200223-0600I20200222-1800
Change-Id: I8f464d6e0eae9afdc7ce6506243944680a341e5f
Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java index 7789876a4..5c6877da5 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2019 IBM Corporation and others. + * Copyright (c) 2000, 2020 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -26,6 +26,7 @@ import org.eclipse.jface.util.PropertyChangeEvent; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; +import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.IWorkbench; @@ -163,6 +164,9 @@ public class ConsolePreferencePage extends FieldEditorPreferencePage implements fInterpretControlCharactersEditor = new BooleanFieldEditor2(IDebugPreferenceConstants.CONSOLE_INTERPRET_CONTROL_CHARACTERS, DebugPreferencesMessages.ConsolePreferencePage_Interpret_control_characters, SWT.NONE, getFieldEditorParent()); fInterpretCrAsControlCharacterEditor = new BooleanFieldEditor2(IDebugPreferenceConstants.CONSOLE_INTERPRET_CR_AS_CONTROL_CHARACTER, DebugPreferencesMessages.ConsolePreferencePage_Interpret_cr_as_control_character, SWT.NONE, getFieldEditorParent()); + GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING); + gd.horizontalIndent = 20; + fInterpretCrAsControlCharacterEditor.getChangeControl(getFieldEditorParent()).setLayoutData(gd); fInterpretControlCharactersEditor.getChangeControl(getFieldEditorParent()).addListener(SWT.Selection, event -> updateInterpretCrAsControlCharacterEditor()); |