From: tcofoegbu Date: Tue, 26 May 2015 11:44:16 +0000 (+0100) Subject: JAL-1627 bug fix to remove wierd space in Sequence Features/Sequence Group tooltip... X-Git-Tag: Release_2_10_0~658 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cebd1eaa580d3d1a08360d0d71661e7c5437918c;p=jalview.git JAL-1627 bug fix to remove wierd space in Sequence Features/Sequence Group tooltip on windows --- diff --git a/src/jalview/gui/JvSwingUtils.java b/src/jalview/gui/JvSwingUtils.java index a0bc7c9..e4cbf61 100644 --- 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 ? "" + ttext + "" : ttext;