Bug 129214 [Field Assist] - Decorated Field attachments not centering images horizontally
DecoratedField is supposed to center decorations horizontally on each side. The current attachments are not doing so. Also consider whether grid would have been a better choice for internal implementation.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/DecoratedField.java
public void focusGained(FocusEvent event) {
				controlFocusGained();
			}
			public void focusLost(FocusEvent event) {
				controlFocusLost();
			}
		});
	}
	/*
	 * Return the index in the array of decoration datas that represents the
	 * specified SWT position.
	 * 
	 * @param position The SWT constant indicating the position of the
	 * decoration relative to the field's control. The position should include
	 * style bits describing both the vertical and horizontal orientation.
	 * <code>SWT.LEFT</code> and <code>SWT.RIGHT</code> describe the
	 * horizontal placement of the decoration relative to the field, and the
	 * constants <code>SWT.TOP</code> and <code>SWT.BOTTOM</code> describe
	 * the vertical alignment of the decoration relative to the field.
	 * Decorations always appear on either horizontal side of the field, never
	 * above or below it. For example, a decoration appearing on the left side
	 * of the field, at the top, is specified as SWT.LEFT | SWT.TOP.
	 * 
	 * @return index the index in the array of decorations that represents the
	 * specified SWT position. If the position is not an expected position, the
	 * index representing the top left position will be returned.
	 * 
	 */
	private int indexForPosition(int position) {
		switch (position) {