summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-04-22 06:29:19 (EDT)
committer Steffen Pingel2012-04-22 06:29:19 (EDT)
commite51173d3e032fb0f2ddb20a1e3b5dec981fa45a0 (patch)
tree6c06473e08358947cd6629f493b3959e38547d3c
parent75d77c3cd22ad2a3252232a330da0f2bf83c1595 (diff)
downloadorg.eclipse.mylyn.tasks-e51173d3e032fb0f2ddb20a1e3b5dec981fa45a0.zip
org.eclipse.mylyn.tasks-e51173d3e032fb0f2ddb20a1e3b5dec981fa45a0.tar.gz
org.eclipse.mylyn.tasks-e51173d3e032fb0f2ddb20a1e3b5dec981fa45a0.tar.bz2
NEW - bug 374776: Local task with very long URL in Attributes sectionR_3_7_1e_3_8_m_3_7_x
adds confusing horizontal scrollbar https://bugs.eclipse.org/bugs/show_bug.cgi?id=374776 Change-Id: Ibeeca76f8ffde6bc9af5a600507a6d246448701f
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttributePart.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttributePart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttributePart.java
index 2e1587c..1f46144 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttributePart.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttributePart.java
@@ -115,7 +115,10 @@ public class AttributePart extends AbstractLocalEditorPart {
urlLayout.verticalSpacing = 0;
urlLayout.marginWidth = 1;
urlComposite.setLayout(urlLayout);
- GridDataFactory.fillDefaults().grab(true, false).applyTo(urlComposite);
+ GridDataFactory.fillDefaults()
+ .grab(true, false)
+ .hint(EditorUtil.MAXIMUM_WIDTH, SWT.DEFAULT)
+ .applyTo(urlComposite);
urlEditor = new RichTextEditor(getRepository(), SWT.FLAT | SWT.SINGLE, null, null, getTask()) {
@Override