Bug 121949 [Wizards] The width of the button in the dialog of "Exitsting Projects into Workspace" doesn't extend when the dialog font is changed
The width of the button in the dialog of "Exitsting Projects into Workspace" doesn't extend when the dialog font is changed. The problem is included in the source code of the following packages. plug-in org.eclipse.ui.ide package org.eclipse.ui.internal.wizards.datatransfer class WizardProjectsImportPage I corrected it as follows; - The variables in createSelectionButtons method are changed to the field variables. -> private Button selectAllButton; -> private Button deselectAllButton; -> private Button refreshButton; - In createSelectionButtons method, The instances of the button ware stored into the fields. -> selectAllButton = new Button(buttonsComposite, SWT.PUSH); -> deselectAllButton = new Button(buttonsComposite, SWT.PUSH); -> refreshButton = new Button(buttonsComposite, SWT.PUSH); - In createControl method, setButtonLayoutData methods ware called after applyDialogFont method. createProjectsRoot(workArea); createProjectsList(workArea); Dialog.applyDialogFont(workArea); /*Add*/ setButtonLayoutData(selectAllButton); /*Add*/ setButtonLayoutData(deselectAllButton); /*Add*/ setButtonLayoutData(refreshButton);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
File projectSystemFile;
		Object projectArchiveFile;
		String projectName;
		Object parent;
		int level;
		IProjectDescription description;
		ILeveledImportStructureProvider provider;
		/**
		 * Create a record for a project based on the info in the file.
		 * 
		 * @param file
		 */
		ProjectRecord(File file) {
			projectSystemFile = file;
			setProjectName();
		}
		/**
		 * @param file
		 *            The Object representing the .project file
		 * @param parent
		 *            The parent folder of the .project file
		 * @param level
		 *            The number of levels deep in the provider the file is
		 * @param entryProvider
		 *            The provider for the archive file that contains it
		 */
		ProjectRecord(Object file, Object parent, int level,
				ILeveledImportStructureProvider entryProvider) {
			this.projectArchiveFile = file;