Bug 45033 Usability: Code Formatter Preferences Page Resizes Poorly
Eclipse 3.0 M4 This is just a single example of a common UI problem that exists in a wide variety of places in Eclipse, not just JDT. If you're going to allow a dialog/window to be resized (which I think you should), then some careful thought needs to go into how the widgets resize. Look at the preferences page for the JDT's Code Formatter and you'll see that when the dialog is resized the (really useful) preview text widget does not stretch and consume the remaining whitespace. Take a look at the screen shot of the dialog in various sizes to see what I mean.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
FormatterMessages.getString("LineWrappingTabPage.enum_arguments") 
	);
	
	private final Category fEnumDeclInterfacesCategory= new Category(
	    DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION,
	    "enum Example implements A, B {" + 
	    "CANCELLED, RUNNING, WAITING, FINISHED }", 
	    FormatterMessages.getString("LineWrappingTabPage.enum_superinterfaces") 
	);
	
	
	/**
	 * The default preview line width.
	 */
	private static int DEFAULT_PREVIEW_WINDOW_LINE_WIDTH= 40;
	
	/**
	 * The key to save the user's preview window width in the dialog settings.
	 */
	private static final String PREF_PREVIEW_LINE_WIDTH= JavaUI.ID_PLUGIN + ".codeformatter.line_wrapping_tab_page.preview_line_width"; 
	
	/**
	 * The dialog settings.
	 */
	protected final IDialogSettings fDialogSettings;	
	
	protected TreeViewer fCategoriesViewer;
	protected Combo fWrappingStyleCombo;
	protected Label fIndentStyleLabel;
	protected Combo fIndentStyleCombo;