Added text alignment attribute for label widget.