Bug 49005 Preference page doesn't get enough space to draw itself
200312162000 There are cases where the preference dialog doesn't allocate enough space for a page to draw itself. The width of the page seems to be a few pixels short.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
if (lastShellSize == null)
					lastShellSize = getShell().getSize();
			}
		});
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.window.Window#constrainShellSize()
	 */
	protected void constrainShellSize() {
		super.constrainShellSize();
		
		if (lastShellSize == null)
			lastShellSize = getShell().getSize();
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
	 */
	protected void createButtonsForButtonBar(Composite parent) {
		
		okButton = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
		getShell().setDefaultButton(okButton);
		cancelButton =
			createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
		if (isHelpAvailable) {
			helpButton =
				createButton(parent, IDialogConstants.HELP_ID, IDialogConstants.HELP_LABEL, false);
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.window.Window#createContents(org.eclipse.swt.widgets.Composite)