What does your visual logic look like currently that you're having the issue with trying to center it?
The thing that sticks out to me is why you may need any sort of logic to vertically align it, is something happening to the quad that changes its dimensions that you'd need to dynamically center it? Even then changing the quad height in pixel height or even scaling would do so from its pivot point (defaulted to the center) and would keep the text still appear centered vertically if placed by hand.
Is it that the TOPIC 1 HERE text object will need to, at some point, go to 2 or more lines?
#XPression