Project: Eclipse_Platform_UI
Bug 81837 [About] About > Configuration Details should use text font
Reported: 2004-12-23 00:34:08 | Status: verified fixed

I think that the configuration details should use the text font rather than the default font, since it better fits the style of a "log file" view. I am not sure how best to go about it though: can I just do the following and use JFaceResources or should I be using the theme API in some way? Index: Eclipse UI/org/eclipse/ui/internal/dialogs/AboutSystemDialog.java =================================================================== RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutSystemDialog.java,v retrieving revision 1.8 diff -u -r1.8 AboutSystemDialog.java --- Eclipse UI/org/eclipse/ui/internal/dialogs/AboutSystemDialog.java 20 Oct 2004 16:24:50 -0000 1.8 +++ Eclipse UI/org/eclipse/ui/internal/dialogs/AboutSystemDialog.java 23 Dec 2004 05:29:44 -0000 @@ -24,6 +24,7 @@ import org.eclipse.core.runtime.Platform; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.jface.dialogs.MessageDialog; +import org.eclipse.jface.resource.JFaceResources; import org.eclipse.swt.SWT; import org.eclipse.swt.dnd.Clipboard; import org.eclipse.swt.dnd.TextTransfer; @@ -113,6 +114,7 @@ gridData.widthHint = convertHorizontalDLUsToPixels(400); text.setLayoutData(gridData); text.setText(getSystemSummary()); + text.setFont(JFaceResources.getTextFont()); return outer; }

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutSystemDialog.java