Bug 319139 [Import/Export] Cocoa: Import existing projects into workspace has misaligned text fields
Build Identifier: 20100617-1415 In Eclipse Cocoa, the dialog that pops up after doing Import -> Existing projects into workspace has misaligned text fields. The text field next to the label "Select root directory" seems way above than the label and the browse button than it should be. In windows, this looks fine. Same for the text field next to "Select archive file". Reproducible: Always Steps to Reproduce: 1. Go to File -> Import -> Existing Projects into workspace. 2. Notice that the text fields next to "Select root directory" and "Select archive file" are misaligned with the label and the browse button.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
if ( (isProjectInWorkspacePath(selectedProjects[i].getProjectName()) && copyFiles)||
					isProjectInWorkspace(selectedProjects[i].getProjectName())) {
				selectedProjects[i].hasConflicts = true;
			}
			projectRecords.add(selectedProjects[i]);
		}
		return (ProjectRecord[]) projectRecords
				.toArray(new ProjectRecord[projectRecords.size()]);
	}
	/**
	 * Determine if there is a directory with the project name in the workspace path.
	 * 
	 * @param projectName the name of the project
	 * @return true if there is a directory with the same name of the imported project
	 */
	private boolean isProjectInWorkspacePath(String projectName){
		final IWorkspace workspace = ResourcesPlugin.getWorkspace();
		IPath wsPath = workspace.getRoot().getLocation();
		IPath localProjectPath = wsPath.append(projectName);
		return localProjectPath.toFile().exists();
	}
	/**
	 * Determine if the project with the given name is in the current workspace.
	 * 
	 * @param projectName
	 * 		String the project name to check
	 * @return boolean true if the project with the given name is in this
	 * 	workspace
	 */
	private boolean isProjectInWorkspace(String projectName) {