GridData.horizontalAlignment

horizontalAlignment specifies how controls will be positioned horizontally within a cell.

The default value is BEGINNING.

Possible values are: <ul> <li>SWT.BEGINNING (or SWT.LEFT): Position the control at the left of the cell</li> <li>SWT.CENTER: Position the control in the horizontal center of the cell</li> <li>SWT.END (or SWT.RIGHT): Position the control at the right of the cell</li> <li>SWT.FILL: Resize the control to fill the cell horizontally</li> </ul>

class GridData
int horizontalAlignment;

Meta