Bug 81100 Code formatter page is too large on new workspace [formatter]
Using I200412142000 1. Start eclipse with a fresh workspace. 2. Go to the code formatter page 3. Click on show Note: the page uses the full height of the screen. It would be nice to have a a 'resonable' and limited size. The large size might come from the white space tab where the preview table is very large.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog.java
try {
        	final int x= fDialogSettings.getInt(DS_KEY_PREFERRED_X);
        	final int y= fDialogSettings.getInt(DS_KEY_PREFERRED_Y);
        	final int width= fDialogSettings.getInt(DS_KEY_PREFERRED_WIDTH);
            final int height= fDialogSettings.getInt(DS_KEY_PREFERRED_HEIGHT);
            
            shell.setLocation(x, y);
            shell.setSize(width, height);
            
        } catch (NumberFormatException ex) {
        	
        }
        
        super.constrainShellSize();
    }
    
	public boolean close()
	{
		
		final Rectangle shell= getShell().getBounds();
		
		fDialogSettings.put(DS_KEY_PREFERRED_WIDTH, shell.width);
		fDialogSettings.put(DS_KEY_PREFERRED_HEIGHT, shell.height);
		fDialogSettings.put(DS_KEY_PREFERRED_X, shell.x);
		fDialogSettings.put(DS_KEY_PREFERRED_Y, shell.y);
		
		return super.close();
	}
	
	/* (non-Javadoc)