Bug 73027 [Dialogs] Buttons are too high
I20040831 Buttons are no longer oval but have a rounded rectangle shape (see first screenshot). The second screenshot shows how buttons using the small system font should look like.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/PathVariableDialog.java
Composite contents = new Composite(parentComposite, SWT.NONE);
        FormLayout layout = new FormLayout();
        layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);
        layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
        contents.setLayout(layout);
        contents.setFont(parentComposite.getFont());
        if (newVariable)
            setTitle(IDEWorkbenchMessages
                    .getString("PathVariableDialog.dialogTitle.newVariable")); 
        else
            setTitle(IDEWorkbenchMessages
                    .getString("PathVariableDialog.dialogTitle.existingVariable")); 
        setMessage(standardMessage);
        return contents;
    }
    /**
     * Creates widgets for this dialog.
     * 
     * @param parent the parent composite where to create widgets
     * @param contents 
     */
    private void createWidgets(Composite contents, Font font) {
        FormData data;
        String nameLabelText = IDEWorkbenchMessages
                .getString("PathVariableDialog.variableName"); 
        String valueLabelText = IDEWorkbenchMessages
                .getString("PathVariableDialog.variableValue"); 
        
        variableNameLabel = new Label(contents, SWT.LEFT);
        variableNameLabel.setText(nameLabelText);