Wrap long description in table
authoramwaterhouse <Andrew Waterhouse>
Tue, 1 Nov 2005 17:08:36 +0000 (17:08 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 1 Nov 2005 17:08:36 +0000 (17:08 +0000)
src/jalview/gui/IdPanel.java

index 7c70c01..4032a5e 100755 (executable)
@@ -83,9 +83,9 @@ public class IdPanel extends JPanel implements MouseListener,
         tip.append(av.alignment.getSequenceAt(seq).getDisplayId(true, true));\r
         if (av.alignment.getSequenceAt(seq).getDescription() != null)\r
         {\r
-          tip.append("<br><i>");\r
+          tip.append("<table width=250 border=0><tr><td><i>");\r
           tip.append(av.alignment.getSequenceAt(seq).getDescription());\r
-          tip.append("</i>");\r
+          tip.append("</i></td></tr></table>");\r
         }\r
         tip.append("</html>");\r
         setToolTipText(tip.toString());\r