autosize for center and right aligned labels