From 925e3c83512b8467fdbfc8ebb45819c82c18be01 Mon Sep 17 00:00:00 2001 From: Andrew Obuchowicz Date: Thu, 13 Jun 2019 12:36:42 -0400 Subject: Bug 548060 - Improve positioning of widgets on Annotations page Patch Ready For Review Change-Id: I9c2df01a49d90d2517a44eccb6842ed55fec5ee9 Signed-off-by: Andrew Obuchowicz --- .../ui/internal/editors/text/AnnotationsConfigurationBlock.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AnnotationsConfigurationBlock.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AnnotationsConfigurationBlock.java index a07d3991eb1..f3e9b86722c 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AnnotationsConfigurationBlock.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AnnotationsConfigurationBlock.java @@ -244,7 +244,6 @@ class AnnotationsConfigurationBlock implements IPreferenceConfigurationBlock { gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment= GridData.BEGINNING; gd.horizontalSpan= 2; - gd.horizontalIndent= 20; fShowInVerticalRulerCheckBox.setLayoutData(gd); fShowInOverviewRulerCheckBox= new Button(optionsComposite, SWT.CHECK); @@ -252,14 +251,12 @@ class AnnotationsConfigurationBlock implements IPreferenceConfigurationBlock { gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment= GridData.BEGINNING; gd.horizontalSpan= 2; - gd.horizontalIndent= 20; fShowInOverviewRulerCheckBox.setLayoutData(gd); fShowInTextCheckBox= new Button(optionsComposite, SWT.CHECK); fShowInTextCheckBox.setText(TextEditorMessages.AnnotationsConfigurationBlock_showInText); gd= new GridData(GridData.FILL_HORIZONTAL); gd.horizontalAlignment= GridData.BEGINNING; - gd.horizontalIndent= 20; fShowInTextCheckBox.setLayoutData(gd); @@ -278,7 +275,6 @@ class AnnotationsConfigurationBlock implements IPreferenceConfigurationBlock { label.setText(TextEditorMessages.AnnotationsConfigurationBlock_color); gd= new GridData(); gd.horizontalAlignment= GridData.BEGINNING; - gd.horizontalIndent= 20; label.setLayoutData(gd); fAnnotationForegroundColorEditor= new ColorSelector(optionsComposite); -- cgit v1.2.3