How to align text to vertical Center when the button Height is set to fill container

I have created a simple button with Height set to Fill Container and the text on button shifts to top . how to place the text at the center of the button

are you using drag and drop ui or old ui

old ui