Configurable vertical text centering for buttons and labels