summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDimitar Iordanov2012-05-09 15:07:31 (EDT)
committer Paul Webster2012-05-09 15:07:31 (EDT)
commitd60518847719a357e412a6e3a759595621253b52 (patch)
tree19585c0f824dca805c0611cd2fd0a84770b04cf4
parent727dc275df224bdb8193b755da72418b041628c4 (diff)
downloadeclipse.platform.ui-d60518847719a357e412a6e3a759595621253b52.zip
eclipse.platform.ui-d60518847719a357e412a6e3a759595621253b52.tar.gz
eclipse.platform.ui-d60518847719a357e412a6e3a759595621253b52.tar.bz2
Bug 377854 - [About] About Features Dialog's Info Area does not scrollv20120509-1907I20120509-1900
when message is long
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutFeaturesPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutFeaturesPage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutFeaturesPage.java
index 138be88..2f7951c 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutFeaturesPage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutFeaturesPage.java
@@ -227,7 +227,8 @@ public class AboutFeaturesPage extends ProductInfoPage {
imageLabel.setFont(font);
// text on the right
- text = new StyledText(infoArea, SWT.MULTI | SWT.WRAP | SWT.READ_ONLY);
+ text = new StyledText(infoArea, SWT.MULTI | SWT.WRAP | SWT.READ_ONLY | SWT.V_SCROLL);
+ text.setAlwaysShowScrollBars(false);
// Don't set caret to 'null' as this causes https://bugs.eclipse.org/293263.
// text.setCaret(null);