Adapt text for message box to contents of screen.