Gets and sets the horizontal alignment for the widget.
This is used by the parent container to help layout the widget.