I was thinking that kind of border to keep the dialogue on screen, but I don’t know how to make that possible.
If you place your text object and give it a hard dimensions (click “custom size” in the instance properties, and stretch it to the size you want), text within it will wrap once it reaches that point, instead of extending the width of the object.
You could change the position of the text to : SceneWindowWidth()/2 - “Yourtextobject”.Width()/2 and that would always center the text on the screen.
I decided to go with the Custom Size option, but thank you both for your help!