moved tooltips code from WidgetView to utils