Automatically resizes text to its container