From cebd1eaa580d3d1a08360d0d71661e7c5437918c Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Tue, 26 May 2015 12:44:16 +0100 Subject: [PATCH] JAL-1627 bug fix to remove wierd space in Sequence Features/Sequence Group tooltip on windows --- src/jalview/gui/JvSwingUtils.java | 1 + 1 file changed, 1 insertion(+) 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; -- 1.7.10.2