if tab name is too long, name will be cut, and add ellipsis