Bug 72489 [Dialogs] ErrorDialog resize behaviour should be improved
The resize behaviour of the ErrorDialog lacks a few constraints: - You can resize the dialog arbitrarily. A minimum size should be calculated dynamically to make sure that all components are visible. - If visisble - the details field upper left position should be fixed and the field itself should resizes only.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
/*******************************************************************************
 * Copyright (c) 2000, 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * 		IBM Corporation - initial API and implementation 
 * 		Sebastian Davids <sdavids@gmx.de> - Fix for bug 19346 - Dialog font should
 * 			be activated and used by other components.
 *******************************************************************************/
package org.eclipse.jface.dialogs;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.util.Policy;
import org.eclipse.swt.SWT;
import org.eclipse.swt.dnd.Clipboard;