From: amwaterhouse Date: Mon, 7 May 2007 13:59:10 +0000 (+0000) Subject: Allow for large font sizes X-Git-Tag: Release_2_3~47 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3414b2b982143500ab5c8afb7f575288b1f4fce4;p=jalview.git Allow for large font sizes --- diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index c9fa597..86d5c6d 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -721,7 +721,7 @@ public class AnnotationPanel if (row.hasText) { - iconOffset = av.charHeight / 2 + 4; + iconOffset =av.charHeight -fm.getDescent(); y -= av.charHeight; } }