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
removeButton.setLayoutData(data);
        removeButton.setFont(font);
        table.addSelectionChangedListener(new ISelectionChangedListener() {
            public void selectionChanged(SelectionChangedEvent event) {
                selectedCap = null;
                IStructuredSelection sel = (IStructuredSelection) event
                        .getSelection();
                if (sel != null)
                    selectedCap = (Capability) sel.getFirstElement();
                removeButton.setEnabled(selectedCap != null);
            }
        });
        return topComposite;
    }
    /**
     * Returns the content provider for the viewers
     */
    private IContentProvider getContentProvider() {
        return new WorkbenchContentProvider() {
            public Object[] getChildren(Object parentElement) {
                if (parentElement instanceof IProject)
                    return reg.getProjectCapabilities((IProject) parentElement);
                else
                    return null;
            }
        };
    }
    /**
     * Returns whether the category is considered disabled
     */