Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-09-07 19:47:51 -0400
committerspingel2010-09-07 19:47:51 -0400
commit27ac76031b5959d1663ca024c821ff35beab8b77 (patch)
treefc3baa6af94bdf7b6dcf9aa42b47ca66d455515b
parent027095f9897d35581c7c8412a5f893fa61ec64dd (diff)
downloadorg.eclipse.mylyn.tasks-27ac76031b5959d1663ca024c821ff35beab8b77.tar.gz
org.eclipse.mylyn.tasks-27ac76031b5959d1663ca024c821ff35beab8b77.tar.xz
org.eclipse.mylyn.tasks-27ac76031b5959d1663ca024c821ff35beab8b77.zip
RESOLVED - bug 315921: fix attachment details nitsR_3_4_2_e_3_5R_3_4_2_e_3_4R_3_4_2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315921
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java
index e5e96e58e..3d1528582 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java
@@ -21,6 +21,7 @@ import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.layout.GridLayoutFactory;
import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttribute;
import org.eclipse.mylyn.internal.bugzilla.ui.BugzillaUiPlugin;
@@ -28,6 +29,7 @@ import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
import org.eclipse.mylyn.tasks.ui.editors.AbstractAttributeEditor;
import org.eclipse.mylyn.tasks.ui.editors.AttributeEditorFactory;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
@@ -272,7 +274,7 @@ public class BugzillaAttachmentWizardPage extends WizardPage {
}
advancedExpandComposite = toolkit.createExpandableComposite(container, ExpandableComposite.COMPACT
| ExpandableComposite.TWISTIE | ExpandableComposite.TITLE_BAR);
- advancedExpandComposite.setFont(container.getFont());
+ advancedExpandComposite.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DIALOG_FONT));
advancedExpandComposite.setBackground(container.getBackground());
advancedExpandComposite.setText(Messages.BugzillaAttachmentWizardPage_Advanced);
advancedExpandComposite.setLayout(new GridLayout(4, false));
@@ -286,6 +288,7 @@ public class BugzillaAttachmentWizardPage extends WizardPage {
@Override
public void expansionStateChanged(ExpansionEvent e) {
container.layout();
+ container.redraw();
}
});
Composite advancedBodyComposite = new Composite(advancedExpandComposite, SWT.NONE);

Back to the top