diff options
| author | Dani Megert | 2012-04-10 10:59:00 +0000 |
|---|---|---|
| committer | Dani Megert | 2012-04-10 10:59:00 +0000 |
| commit | 313ed855bd30e17c8c94a2036d449831f052b0fc (patch) | |
| tree | be5c58f80ba39278bdcf589f4037122c027953ba | |
| parent | 9c3b848991b07d4d597192ef3124d556ae57a331 (diff) | |
| download | eclipse.jdt.ui-313ed855bd30e17c8c94a2036d449831f052b0fc.tar.gz eclipse.jdt.ui-313ed855bd30e17c8c94a2036d449831f052b0fc.tar.xz eclipse.jdt.ui-313ed855bd30e17c8c94a2036d449831f052b0fc.zip | |
Fixed bug 376381: [preferences][clean up] ICleanUpConfigurationUI parent
Composite has excess margins
| -rw-r--r-- | org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/ContributedCleanUpTabPage.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/ContributedCleanUpTabPage.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/ContributedCleanUpTabPage.java index fdaa71caa1..3c739108db 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/ContributedCleanUpTabPage.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/cleanup/ContributedCleanUpTabPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2011 IBM Corporation and others. + * Copyright (c) 2008, 2012 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 @@ -83,7 +83,10 @@ public class ContributedCleanUpTabPage extends CleanUpTabPage { GridData layoutData= new GridData(SWT.FILL, SWT.FILL, true, true); layoutData.horizontalSpan= numColumns; parent.setLayoutData(layoutData); - parent.setLayout(new GridLayout(1, false)); + GridLayout layout= new GridLayout(1, false); + layout.marginHeight= 0; + layout.marginWidth= 0; + parent.setLayout(layout); SafeRunner.run(new ISafeRunnable() { public void handleException(Throwable exception) { |
