Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2014-01-25 15:46:01 +0000
committerRobin Stocker2014-01-25 15:46:01 +0000
commit8b3603ac60fe1e9cfdf906ffc11134cd36610b12 (patch)
tree981046076968de3444b44632d00ac5b2aefbec06
parent16c186fe543f8d9a45c64f066c6f00230581595a (diff)
downloadegit-8b3603ac60fe1e9cfdf906ffc11134cd36610b12.tar.gz
egit-8b3603ac60fe1e9cfdf906ffc11134cd36610b12.tar.xz
egit-8b3603ac60fe1e9cfdf906ffc11134cd36610b12.zip
Only show scroll bars in message text field when necessary
This was originally part of commit 3c58e4ed5ec994307ffb20fb78ec2269e04ce392, which needed to be reverted. This setting alone does not seem to cause any trouble and it reduces visual clutter a bit, so reintroduce it. Bug: 425847 Change-Id: Ic4019501f8ce3d1731886ace41194ed4567abffe Signed-off-by: Robin Stocker <robin@nibor.org>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java
index adbeb46c91..833ac8686d 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java
@@ -269,6 +269,7 @@ public class SpellcheckableMessageArea extends Composite {
AnnotationModel annotationModel = new AnnotationModel();
sourceViewer = new SourceViewer(this, null, null, true, SWT.MULTI
| SWT.V_SCROLL | SWT.WRAP);
+ getTextWidget().setAlwaysShowScrollBars(false);
getTextWidget().setFont(UIUtils
.getFont(UIPreferences.THEME_CommitMessageEditorFont));

Back to the top