Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-02-12 14:54:35 -0500
committerrelves2007-02-12 14:54:35 -0500
commitb6915461784bde7606ff500e4c1de2e17c255445 (patch)
treeb670b7dfa813f991877609b3b33701e643f8b040 /org.eclipse.mylyn.bugzilla.ui
parent3a566ddeed1d93d23a2b669509a5f672ec01d496 (diff)
downloadorg.eclipse.mylyn.tasks-b6915461784bde7606ff500e4c1de2e17c255445.tar.gz
org.eclipse.mylyn.tasks-b6915461784bde7606ff500e4c1de2e17c255445.tar.xz
org.eclipse.mylyn.tasks-b6915461784bde7606ff500e4c1de2e17c255445.zip
NEW - bug 173728: Use flat layout for input fields in task editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=173728
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java8
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugzillaTaskEditor.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
index 5dbaa5ef2..08221aa38 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
@@ -400,7 +400,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
.getKeyString());
if (attribute != null && !attribute.isReadOnly()) {
createLabel(timeComposite, attribute);
- estimateText = createTextField(timeComposite, attribute, SWT.BORDER);
+ estimateText = createTextField(timeComposite, attribute, SWT.FLAT);
estimateText.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
}
@@ -419,7 +419,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
if (attribute != null) {
createLabel(timeComposite, attribute);
- Text actualText = createTextField(timeComposite, attribute, SWT.BORDER);
+ Text actualText = createTextField(timeComposite, attribute, SWT.FLAT);
actualText.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
actualText.setEditable(false);
}
@@ -445,7 +445,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
attribute = this.taskData.getAttribute(BugzillaReportElement.REMAINING_TIME.getKeyString());
if (attribute != null) {
createLabel(timeComposite, attribute);
- createTextField(timeComposite, attribute, SWT.BORDER);
+ createTextField(timeComposite, attribute, SWT.FLAT);
}
attribute = this.taskData.getAttribute(BugzillaReportElement.DEADLINE.getKeyString());
@@ -495,7 +495,7 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
GridDataFactory.fillDefaults().align(SWT.RIGHT, SWT.CENTER).applyTo(label);
// toolkit.createText(attributesComposite, keywords)
- keywordsText = createTextField(attributesComposite, attribute, SWT.NONE);
+ keywordsText = createTextField(attributesComposite, attribute, SWT.FLAT);
keywordsText.setFont(TEXT_FONT);
keywordsText.setEditable(false);
// keywordsText.setForeground(foreground);
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugzillaTaskEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugzillaTaskEditor.java
index 9de3b722d..c819235d0 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugzillaTaskEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugzillaTaskEditor.java
@@ -83,7 +83,7 @@ public class NewBugzillaTaskEditor extends AbstractNewRepositoryTaskEditor {
textLayout.marginRight = 5;
textFieldComposite.setLayout(textLayout);
Text textField = createTextField(textFieldComposite, taskData
- .getAttribute(RepositoryTaskAttribute.USER_ASSIGNED), SWT.FLAT | SWT.BORDER);
+ .getAttribute(RepositoryTaskAttribute.USER_ASSIGNED), SWT.FLAT);
GridDataFactory.fillDefaults().hint(150, SWT.DEFAULT).applyTo(textField);
peopleSection.setClient(peopleComposite);

Back to the top