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
if (nameEntered) {
                
                newValidationStatus = IMessageProvider.ERROR;
                message = IDEWorkbenchMessages
                        .getString("PathVariableDialog.variableNameEmptyMessage"); 
            }
        } else {
            IStatus status = pathVariableManager.validateName(variableName);
            if (!status.isOK()) {
                
                newValidationStatus = IMessageProvider.ERROR;
                message = status.getMessage();
            } else if (namesInUse.contains(variableName)
                    && !variableName.equals(originalName)) {
                
                message = IDEWorkbenchMessages
                        .getString("PathVariableDialog.variableAlreadyExistsMessage"); 
                newValidationStatus = IMessageProvider.ERROR;
            } else {
                allowFinish = true;
            }
        }
        
        
        if (validationStatus == IMessageProvider.NONE
                || newValidationStatus == IMessageProvider.ERROR) {
            validationStatus = newValidationStatus;
            validationMessage = message;
        }