From: hansonr Date: Wed, 10 Jul 2019 08:55:53 +0000 (+0100) Subject: JAL-3253-applet JAL-3360 HTML tooltips not trimming properly; need
X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5a313aa466ac046c5ab901eaa9e1d62518a50e69;hp=a62e172dc725a573a85ca49552020cc75cfdc1f1;p=jalview.git JAL-3253-applet JAL-3360 HTML tooltips not trimming properly; need
for sizing in JavaScript --- diff --git a/src/jalview/gui/JvSwingUtils.java b/src/jalview/gui/JvSwingUtils.java index a582133..c1c8c82 100644 --- a/src/jalview/gui/JvSwingUtils.java +++ b/src/jalview/gui/JvSwingUtils.java @@ -95,15 +95,12 @@ public final class JvSwingUtils { return enclose ? "" + ttext + "" : ttext; } - - return (enclose ? "
" - - // BH 2018,2019 - - + "
" + // BH 2018,2019 + return (enclose + ? "
" + ttext - + "
" - + "" : ttext); + + "
" + : ttext); }