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:
91c77a3
)
JAL-1627 bug fix to remove wierd space in Sequence Features/Sequence Group tooltip...
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 26 May 2015 11:44:16 +0000
(12:44 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 26 May 2015 11:44:16 +0000
(12:44 +0100)
src/jalview/gui/JvSwingUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/JvSwingUtils.java
b/src/jalview/gui/JvSwingUtils.java
index
a0bc7c9
..
e4cbf61
100644
(file)
--- a/
src/jalview/gui/JvSwingUtils.java
+++ b/
src/jalview/gui/JvSwingUtils.java
@@
-59,6
+59,7
@@
public final class JvSwingUtils
*/
public static String wrapTooltip(boolean enclose, String ttext)
{
+ ttext = ttext.trim();
if (ttext.length() < 60)
{
return enclose ? "<html>" + ttext + "</html>" : ttext;