adjust header width to fit different system font size