From: Jim Procter Date: Mon, 2 Sep 2013 17:11:29 +0000 (+0100) Subject: JAL-1373 JAL-520 wrap tooltips for columns in annotation rows X-Git-Tag: Jalview_2_9~222^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=42031902d96343b0c3ee3e2282b1cb5301f941c5;p=jalview.git JAL-1373 JAL-520 wrap tooltips for columns in annotation rows --- diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index ed899b1..b978a05 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -663,7 +663,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, && aa[row].annotations[res].description != null && aa[row].annotations[res].description.length() > 0) { - this.setToolTipText(aa[row].annotations[res].description); + this.setToolTipText(""+JvSwingUtils.wrapTooltip(aa[row].annotations[res].description)+""); } else {