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
/**
     * Creates a new string button field editor 
     */
    protected StringButtonFieldEditor() {
    }
    /**
     * Creates a string button field editor.
     * 
     * @param name the name of the preference this field editor works on
     * @param labelText the label text of the field editor
     * @param parent the parent of the field editor's control
     */
    protected StringButtonFieldEditor(String name, String labelText,
            Composite parent) {
        init(name, labelText);
        createControl(parent);
    }
    /* (non-Javadoc)
     * Method declared on FieldEditor.
     */
    protected void adjustForNumColumns(int numColumns) {
        ((GridData) getTextControl().getLayoutData()).horizontalSpan = numColumns - 2;
    }
    /**
     * Notifies that this field editor's change button has been pressed.
     * <p>
     * Subclasses must implement this method to provide a corresponding
     * new string for the text field. If the returned value is <code>null</code>,
     * the currently displayed value remains.
     * </p>