Autosize text box should account for text alignment
When autosize text box is used, it should account for the current alignment of the text that is being auto-sized. Currently, when auto size is used, the box always shrinks towards the upper left grip of the text. If the text is right-aligned, it should shrink towards the right so that the text does not move when the auto…