calculate the best font size for the button text and change the font accordingly