unify the layout of tooltips, fixes #284