Bug 144974 [Preferences] TVT3.2:TCT829: DE : Base : Truncation in Ant Preferences Panel
OS : RHEL 3.1 Must fix or not a must fix: NO Build date: 0531 Component name = Base Blocking: no Language: de Bitmap Location: V:\defects\de\ Tester Name: Ruth Nestvold Problem Description: The "Browse..." button is truncated on the Prefences panel Steps: On the menu bar from the main Workbench panel, click Windows > Preference Expand and Select Ant The Browse button on the Ant panel is truncated This article was reassigned from Category:''TVT/Testing''.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/StringButtonFieldEditor.java
changeButton.setText(changeButtonText);
            changeButton.setFont(parent.getFont());
            changeButton.addSelectionListener(new SelectionAdapter() {
                public void widgetSelected(SelectionEvent evt) {
                    String newValue = changePressed();
                    if (newValue != null) {
                        setStringValue(newValue);
                    }
                }
            });
            changeButton.addDisposeListener(new DisposeListener() {
                public void widgetDisposed(DisposeEvent event) {
                    changeButton = null;
                }
            });
        } else {
            checkParent(changeButton, parent);
        }
        return changeButton;
    }
    /* (non-Javadoc)
     * Method declared on FieldEditor.
     */
    public int getNumberOfControls() {
        return 3;
    }
    /**
     * Returns this field editor's shell.
     *
     * @return the shell