diff options
author | Robert Munteanu | 2012-05-08 14:35:11 +0000 |
---|---|---|
committer | Steffen Pingel | 2012-05-08 14:35:11 +0000 |
commit | 7cda66b9e258e55605a613c710deffa44433c67c (patch) | |
tree | c8ae399b88da93c7ab520df64a689a611d4b37ae /org.eclipse.mylyn.tasks.ui | |
parent | aa9a8b34ef6bc4246547e0c59679cc196b8a4a8b (diff) | |
download | org.eclipse.mylyn.tasks-7cda66b9e258e55605a613c710deffa44433c67c.tar.gz org.eclipse.mylyn.tasks-7cda66b9e258e55605a613c710deffa44433c67c.tar.xz org.eclipse.mylyn.tasks-7cda66b9e258e55605a613c710deffa44433c67c.zip |
NEW - bug 377081: [patch] MultiSelectionAttributeEditor should be
scrollable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=377081
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPeoplePart.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPeoplePart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPeoplePart.java index f1bf1c40b..2b804eb03 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPeoplePart.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorPeoplePart.java @@ -7,6 +7,7 @@ * * Contributors: * Tasktop Technologies - initial API and implementation + * Robert Munteanu - fix for bug #377081 *******************************************************************************/ package org.eclipse.mylyn.internal.tasks.ui.editors; @@ -41,7 +42,14 @@ public class TaskEditorPeoplePart extends AbstractTaskEditorPart { .applyTo(editor.getLabelControl()); editor.createControl(composite, toolkit); getTaskEditorPage().getAttributeEditorToolkit().adapt(editor); - GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.TOP).applyTo(editor.getControl()); + + GridDataFactory gridDataFactory = GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.TOP); + + if (editor instanceof MultiSelectionAttributeEditor) { + gridDataFactory.hint(SWT.DEFAULT, 95); + } + + gridDataFactory.applyTo(editor.getControl()); } } |