Truncate labels, which does not fit in box.

Close #1208.