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/ProjectCapabilityEditingPropertyPage.java
addCapability();
            }
            public void widgetDefaultSelected(SelectionEvent e) {
            }
        });
        GridData data = new GridData();
        data.horizontalAlignment = GridData.FILL;
        data.heightHint = convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT);
        int widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
        data.widthHint = Math.max(widthHint, addButton.computeSize(SWT.DEFAULT,
                SWT.DEFAULT, true).x);
        addButton.setLayoutData(data);
        addButton.setFont(font);
        removeButton = new Button(buttonComposite, SWT.PUSH);
        removeButton.setText(IDEWorkbenchMessages
                .getString("ProjectCapabilityEditingPropertyPage.remove")); 
        removeButton.setEnabled(false);
        removeButton.addSelectionListener(new SelectionListener() {
            public void widgetSelected(SelectionEvent e) {
                removeCapability(selectedCap);
            }
            public void widgetDefaultSelected(SelectionEvent e) {
            }
        });
        data = new GridData();
        data.horizontalAlignment = GridData.FILL;
        data.heightHint = convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT);
        widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
        data.widthHint = Math.max(widthHint, removeButton.computeSize(
                SWT.DEFAULT, SWT.DEFAULT, true).x);