summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorKevin Sawicki2011-04-03 18:43:53 (EDT)
committer Matthias Sohn2011-04-03 18:43:53 (EDT)
commit6213f5c2762e3767ac849867757302d78b8d48c7 (patch)
tree88c78de95e5f82dd2fedcbcd92e002554e66d14f
parentabf01a820c641d9b2d3d9487d65ec8d66466367f (diff)
downloadegit-6213f5c2762e3767ac849867757302d78b8d48c7.zip
egit-6213f5c2762e3767ac849867757302d78b8d48c7.tar.gz
egit-6213f5c2762e3767ac849867757302d78b8d48c7.tar.bz2
Set layout data on Scale to not grab excess vertical spacerefs/changes/53/2953/2
Bug: 341176 Change-Id: I408ace2df348993a1f65a386f80cf79630de311e Signed-off-by: Kevin Sawicki <kevin@github.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitDecoratorPreferencePage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitDecoratorPreferencePage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
index 5dcd80b..d8091a2 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
@@ -382,7 +382,7 @@ public class GitDecoratorPreferencePage extends PreferencePage implements
}
final Scale scale = new Scale(composite, SWT.HORIZONTAL);
- scale.setLayoutData(SWTUtils.createHVFillGridData());
+ scale.setLayoutData(SWTUtils.createHFillGridData());
scale.setMaximum(values.length - 1);
scale.setMinimum(0);
scale.setIncrement(1);