关于autoSize和align属性比较好的解释,摘录下。
autoSize deals with expanding the bounds of the TextField to ensure all text is visible
align deals with the alignment of text within your TextField
0,0 is always the TextField top-left.
Imagine a TextField with multiple lines of text. Align will define where the beginning of each line is. AutoSize will simply expand the TextField in some direction to ensure all text is visible.
The truth is you usually don't need autoSize.