Auto alignment text element in a square

How to fix the alignment of a child element so the the child element stay in the center within the parent even if we try to increase the size of the child element?

Set the horizontal text alignment to center and the vertical alignment to the middle in the Text section.
In the screenshot it is at numbers 9 and 10.

Thanks, I didn’t know how easy it was.