Bug 20242 TVT2: Buttons not resizing in Java prefs (truncation)
Build F2 In Window>Preferences, Java>Templates all of the buttons on the right side of the prefs page are not resizing with translated text. This is a critical issue for TVT, since there are translations that cannot be shortened to accomodate a particular button size.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
});
		fDisableAllButton= new Button(buttons, SWT.PUSH);
		fDisableAllButton.setLayoutData(getButtonGridData(fDisableAllButton));
		fDisableAllButton.setText(TemplateMessages.getString("TemplatePreferencePage.disable.all")); 
		fDisableAllButton.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event e) {
				enableAll(false);
			}
		});
		fPatternViewer= createViewer(parent);
		
		fFormatButton= new Button(parent, SWT.CHECK);
		fFormatButton.setText(TemplateMessages.getString("TemplatePreferencePage.use.code.formatter")); 
        GridData gd1= new GridData();
        gd1.horizontalSpan= 2;
        fFormatButton.setLayoutData(gd1);
		fTableViewer.setInput(fTemplates);		
		fTableViewer.setAllChecked(false);
		fTableViewer.setCheckedElements(getEnabledTemplates());		
		IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
		fFormatButton.setSelection(prefs.getBoolean(PREF_FORMAT_TEMPLATES));
		updateButtons();
        configureTableResizing(innerParent, buttons, table, column1, column2, column3);
		WorkbenchHelp.setHelp(parent, IJavaHelpContextIds.TEMPLATE_PREFERENCE_PAGE);
		
		return parent;
	}
    
     /**
     * Correctly resizes the table so no phantom columns appear