Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-12-12 19:30:54 -0500
committerrelves2006-12-12 19:30:54 -0500
commitc5aff4a79ec1f9c2b4406fc905715431bc63dec6 (patch)
treeae7f478866da33f581cb462af2b745e0808f1468
parent1ba7761d3e39edb133d5fcc9c7074ae4e8111d19 (diff)
downloadorg.eclipse.mylyn.tasks-c5aff4a79ec1f9c2b4406fc905715431bc63dec6.tar.gz
org.eclipse.mylyn.tasks-c5aff4a79ec1f9c2b4406fc905715431bc63dec6.tar.xz
org.eclipse.mylyn.tasks-c5aff4a79ec1f9c2b4406fc905715431bc63dec6.zip
NEW - bug 165418: Jira editor should have a People section
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165418
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
index f3f81e77a..cacff80d5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
@@ -1389,9 +1389,12 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
textLayout.marginHeight = 0;
textLayout.marginRight = 5;
textFieldComposite.setLayout(textLayout);
- createTextField(textFieldComposite,
+ Text textField = createTextField(textFieldComposite,
getRepositoryTaskData().getAttribute(RepositoryTaskAttribute.USER_ASSIGNED), SWT.FLAT | SWT.READ_ONLY);
+ GridDataFactory.fillDefaults().hint(150, SWT.DEFAULT).applyTo(textField);
+
+
label = toolkit.createLabel(peopleComposite, "Reporter:");
GridDataFactory.fillDefaults().align(SWT.RIGHT, SWT.DEFAULT).applyTo(label);
textFieldComposite = toolkit.createComposite(peopleComposite);
@@ -1400,9 +1403,10 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage {
textLayout.verticalSpacing = 0;
textLayout.marginHeight = 0;
textFieldComposite.setLayout(textLayout);
- createTextField(textFieldComposite,
+ textField = createTextField(textFieldComposite,
getRepositoryTaskData().getAttribute(RepositoryTaskAttribute.USER_REPORTER), SWT.FLAT | SWT.READ_ONLY);
+ GridDataFactory.fillDefaults().hint(150, SWT.DEFAULT).applyTo(textField);
addSelfToCC(peopleComposite);
addCCList(peopleComposite);

Back to the top