Bug 51184 Fonts on Preference Pages
Eclipse 3.0 M6. The following preference pages do not inherit their font settings from their parent Composite. Of course, this could be by design, but I doubt it. You can see this by changing the Dialog Font preference (Workspace > Fonts) from the default, 8 points, to something big such as 16 points. Next time you open the preferences you'll see that most other pages respect the Dialog Font setting. The offenders are as follows: Java > Code Formatter - Preview text area. Java > Code Formatter (WIP turned on) - Preview text area. - Dialog that opens after Clicking the "Edit..." button. Java > Editor > Syntax tab - Preview text area. Java > Editor > Templates - Preview text area. Java > Work in Progress - The whole page. There are other preference page offenders in Platform and Team, for which I'll submit individual bug reports.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/WorkInProgressPreferencePage.java
group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
		group.setText(PreferencesMessages.getString(PREFIX + "search")); 
		
		addCheckBox(group, PreferencesMessages.getString(PREFIX + "search.small_menu"), PREF_SEARCH_MENU); 
		addCheckBox(group, PreferencesMessages.getString(PREFIX+"newsearch.option"), PREF_BGSEARCH); 
		addCheckBox(group, PreferencesMessages.getString(PREFIX+"search.ignore_imports"), PREF_SEARCH_IGNORE_IMPORTS); 
		return result;
	}
	
 
	/*
	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
	 */
	public void init(IWorkbench workbench) {
	}
	protected void createSpacer(Composite composite, int columnSpan) {
		Label label= new Label(composite, SWT.NONE);
		GridData gd= new GridData();
		gd.horizontalSpan= columnSpan;
		label.setLayoutData(gd);
	}
	/*
	 * @see org.eclipse.jface.preference.PreferencePage#doGetPreferenceStore()
	 */
	protected IPreferenceStore doGetPreferenceStore() {
		return JavaPlugin.getDefault().getPreferenceStore();
	}
	/*
	 * @see PreferencePage#performDefaults()
	 */