shorten tab labels so that they fit on one line.