How can I change the text color and text align of the autosize widget?