git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e08d0
)
JAL-282 wrap very long id in tooltip
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 12 Feb 2016 16:47:48 +0000
(16:47 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 12 Feb 2016 16:47:48 +0000
(16:47 +0000)
src/jalview/gui/IdPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdPanel.java
b/src/jalview/gui/IdPanel.java
index
5dfe581
..
bbffbab
100755
(executable)
--- a/
src/jalview/gui/IdPanel.java
+++ b/
src/jalview/gui/IdPanel.java
@@
-112,8
+112,8
@@
public class IdPanel extends JPanel implements MouseListener,
seqAnnotReport.createSequenceAnnotationReport(tip, sequence,
av.isShowDBRefs(), av.isShowNPFeats(),
sp.seqCanvas.fr.getMinMax());
- setToolTipText("<html>" + sequence.getDisplayId(true) + " "
- + tip.toString() + "</html>");
+ setToolTipText(JvSwingUtils.wrapTooltip(true,
+ sequence.getDisplayId(true) + " " + tip.toString()));
}
}