On your text widget, set it’s anchor point to the center:
Then set the Position X and Y to 0 and both Alignment values to 0.5:
Text will always be centered.
Fitting it to the correct screen size is quite a bit more complicated, and is explained in Est_engine’s answer