diff options
author | Kevin Sawicki | 2011-04-03 22:43:53 +0000 |
---|---|---|
committer | Matthias Sohn | 2011-04-03 22:43:53 +0000 |
commit | 6213f5c2762e3767ac849867757302d78b8d48c7 (patch) | |
tree | 88c78de95e5f82dd2fedcbcd92e002554e66d14f | |
parent | abf01a820c641d9b2d3d9487d65ec8d66466367f (diff) | |
download | egit-6213f5c2762e3767ac849867757302d78b8d48c7.tar.gz egit-6213f5c2762e3767ac849867757302d78b8d48c7.tar.xz egit-6213f5c2762e3767ac849867757302d78b8d48c7.zip |
Set layout data on Scale to not grab excess vertical space
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.java | 2 |
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 5dcd80b76b..d8091a2faf 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); |