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
public void widgetSelected(SelectionEvent e) {
                selectFile();
            }
        });
        
        folderButton = new Button(contents, SWT.PUSH);
        folderButton.setText(IDEWorkbenchMessages
                .getString("PathVariableDialog.folder")); 
        if ((variableType & IResource.FOLDER) == 0)
            folderButton.setEnabled(false);
        data = setButtonFormLayoutData(folderButton);
        data.top = new FormAttachment(variableValueLabel,
                convertVerticalDLUsToPixels(10));
        data.left = new FormAttachment(variableValueField,
                convertHorizontalDLUsToPixels(10));
        data.right = new FormAttachment(100, -5);
        folderButton.setLayoutData(data);
        folderButton.setFont(font);
        folderButton.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                selectFolder();
            }
        });
    }
    /**
     * Sets the <code>FormData</code> on the specified button to be one that is
     * spaced for the current dialog page units. The method
     * <code>initializeDialogUnits</code> must be called once before calling this
     * method for the first time.
     *