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
Composite supportArea = new Composite(parent, SWT.NONE);
		provider.createSupportArea(supportArea, status);
		GridData supportData = new GridData(SWT.FILL, SWT.FILL, true, true);
		supportData.verticalSpan = 3;
		supportArea.setLayoutData(supportData);
		if (supportArea.getLayout() == null){
			GridLayout layout = new GridLayout();
			layout.marginWidth = 0;
			layout.marginHeight = 0;
			supportArea.setLayout(layout); 
		}
	}
	/**
	 * Create the details button if it should be included.
	 * 
	 * @param parent
	 *            the parent composite
	 * @since 3.2
	 */
	protected void createDetailsButton(Composite parent) {
		if (shouldShowDetailsButton()) {
			detailsButton = createButton(parent, IDialogConstants.DETAILS_ID,
					IDialogConstants.SHOW_DETAILS_LABEL, false);
		}
	}
	/**
	 * This implementation of the <code>Dialog</code> framework method creates
	 * and lays out a composite. Subclasses that require a different dialog area
	 * may either override this method, or call the <code>super</code>
	 * implementation and add controls to the created composite.