Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2008-04-05 23:36:56 +0000
committerrelves2008-04-05 23:36:56 +0000
commit6f1947a824d68abf90845bbc47aaa5bc4a5e9eef (patch)
tree94bd12529885fb7648b4f641120a6b19599548d9 /org.eclipse.mylyn.bugzilla.ui
parent8fd3c5ddc093779bf7f6d7e35f09b15e9448d053 (diff)
downloadorg.eclipse.mylyn.tasks-6f1947a824d68abf90845bbc47aaa5bc4a5e9eef.tar.gz
org.eclipse.mylyn.tasks-6f1947a824d68abf90845bbc47aaa5bc4a5e9eef.tar.xz
org.eclipse.mylyn.tasks-6f1947a824d68abf90845bbc47aaa5bc4a5e9eef.zip
NEW - bug 167866: make Bugzilla URL link clickable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167866
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
1 files changed, 4 insertions, 4 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 d31d40b24..c9dff1175 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
@@ -183,7 +183,6 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
final StyledText urlText = urlTextViewer.getTextWidget();
urlText.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER);
urlText.setIndent(2);
-
final RepositoryTaskAttribute urlAttribute = attribute;
urlTextViewer.setEditable(true);
@@ -196,9 +195,10 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor {
}
}
});
-
- GridDataFactory.fillDefaults().hint(135, SWT.DEFAULT).applyTo(urlText);
-
+ GridData textData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
+ textData.horizontalSpan = 1;
+ textData.widthHint = 135;
+ urlText.setLayoutData(textData);
if (hasChanged(attribute)) {
urlText.setBackground(getColorIncoming());
}

Back to the top