adjust label size depending on the text size