Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-01-27 07:46:59 +0000
committerMichael Keppler2018-01-27 07:46:59 +0000
commitd5404922c65fd78ba72ef166c6d1df67f8cf7631 (patch)
tree9dd6bda827794e2d1b7041c7b5cf5901c67ac962
parent70e47367b00faa5b6bfb4b263221644e2e940b6a (diff)
downloadegit-d5404922c65fd78ba72ef166c6d1df67f8cf7631.tar.gz
egit-d5404922c65fd78ba72ef166c6d1df67f8cf7631.tar.xz
egit-d5404922c65fd78ba72ef166c6d1df67f8cf7631.zip
Fix broken indentation in PushBranchPage
At least on Windows the left border of the "Configure Upstream" checkbox is not drawn due to an indentation of -1 relative to the parent component. Root cause is someone confused SWT.DEFAULT(-1) and SWT.NONE(0) in the layout data. Change-Id: I1f9eb0b3fd9ed02159ce29daf87399a000f3c691 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java
index 1f8b4e70b8..eb9626bfda 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java
@@ -302,7 +302,7 @@ public class PushBranchPage extends WizardPage {
SWT.NONE);
upstreamConfigComponent.getContainer().setLayoutData(
GridDataFactory.fillDefaults().grab(true, false).span(3, 1)
- .indent(SWT.DEFAULT, 20).create());
+ .indent(SWT.NONE, 20).create());
upstreamConfigComponent
.addUpstreamConfigSelectionListener(new UpstreamConfigSelectionListener() {
@Override

Back to the top