Shorten text so it fits on one line.