I have text that I need to be left-justified that will change in length. I have a vector graphic sitting to the right of the text, and I'd like it to keep a consistent distance from the end of the text string. Therefore, it will need to move right or left depending on how long the text is.
There's literally hundreds of tutorials out there explaining how to use sourceRectAtTime() to resize an underlying background box or to place stuff around text. Just pick whichever one is most easy for you based on a simple web search.