to keep the UI consistent, truncate long titles and show tooltips