Bug 112337 [Forms] ColumnLayoutData javadoc for CENTER and RIGHT constants are interchanged
Very simple "bug". The javadoc for CENTER and RIGHT constants of the org.eclipse.ui.forms.widgets.ColumnLayoutData class are exchanged. Change this: /** * Horizontal alignment constant - control will be aligned to the right. */ public static final int CENTER = 2; /** * Horizontal alignment constant - control will be centered. */ public static final int RIGHT = 3; to this: /** * Horizontal alignment constant - control will be centered. */ public static final int CENTER = 2; /** * Horizontal alignment constant - control will be aligned to the right. */ public static final int RIGHT = 3; and all is fine :-)
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/ColumnLayoutData.java
* Width hint that will be used instead of the computed control width when
	 * used in conjunction with <code>ColumnLayout</code> class (default is
	 * SWT.DEFAULT).
	 */
	public int widthHint = SWT.DEFAULT;
	/**
	 * Height hint that will be used instead of the computed control height
	 * when used in conjunction with <code>ColumnLayout</code> class (default
	 * is SWT.DEFAULT).
	 */
	public int heightHint = SWT.DEFAULT;
	/**
	 * Horizontal alignment constant - control will be aligned to the left.
	 */
	public static final int LEFT = 1;
	/**
	 * Horizontal alignment constant - control will be aligned to the right.
	 */
	public static final int CENTER = 2;
	/**
	 * Horizontal alignment constant - control will be centered.
	 */
	public static final int RIGHT = 3;
	/**
	 * Horizontal alignment constant - control will fill the column.
	 */
	public static final int FILL = 4;
	/**
	 * Horizontal alignment variable (default is FILL).
	 */