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
return hoverShell.isVisible();
		}
		/*
		 * Compute the extent of the hover for the current text.
		 */
		Point getExtent() {
			GC gc = new GC(hoverShell);
			Point e = gc.textExtent(text);
			gc.dispose();
			e.x += hm * 2;
			e.y += hm * 2;
			return e;
		}
		/*
		 * Compute a new shape for the hover shell.
		 */
		void setNewShape() {
			Region oldRegion = region;
			region = new Region();
			region.add(getPolygon(false));
			hoverShell.setRegion(region);
			if (oldRegion != null) {
				oldRegion.dispose();
			}
		}
	}
	/**
	 * Construct a decorated field which is parented by the specified composite
	 * and has the given style bits. Use the controlCreator to create the
	 * specific kind of control that is decorated inside the field.