diff --git a/org.eclipse.eclemma.ui/src/org/eclipse/eclemma/internal/ui/dialogs/CoveragePreferencePage.java b/org.eclipse.eclemma.ui/src/org/eclipse/eclemma/internal/ui/dialogs/CoveragePreferencePage.java index 2726cb44..fb2e63dc 100644 --- a/org.eclipse.eclemma.ui/src/org/eclipse/eclemma/internal/ui/dialogs/CoveragePreferencePage.java +++ b/org.eclipse.eclemma.ui/src/org/eclipse/eclemma/internal/ui/dialogs/CoveragePreferencePage.java @@ -53,6 +53,7 @@ protected Control createContents(final Composite parent) { final Composite result = new Composite(parent, SWT.NONE); GridLayoutFactory.swtDefaults().margins(0, 0).applyTo(result); + Dialog.applyDialogFont(result); createSessionManagementGroup(result); createDefaultScopeGroup(result); @@ -64,7 +65,6 @@ protected Control createContents(final Composite parent) { createLink(result, UIMessages.CoveragePreferencesAnnotationsLink_label, ANNOTATIONS_PAGE); - Dialog.applyDialogFont(result); initialize(); checkState(); return result; @@ -130,6 +130,7 @@ private void createCoverageRuntimeGroup(final Composite parent) { addField(editor); editor.fillIntoGrid(group, 2); Label hint = new Label(group, SWT.WRAP); + hint.setFont(group.getFont()); GridDataFactory.fillDefaults().span(2, 1).applyTo(hint); hint.setText(UIMessages.CoveragePreferencesCoverageRuntime_message); adjustGroupLayout(group); @@ -155,6 +156,7 @@ private void createLink(final Composite parent, final String text, String target) { final PreferenceLinkArea link = new PreferenceLinkArea(parent, SWT.NONE, target, text, (IWorkbenchPreferenceContainer) getContainer(), null); + link.getControl().setFont(parent.getFont()); link.getControl().setLayoutData(new GridData()); }