Allow for large font sizes
authoramwaterhouse <Andrew Waterhouse>
Mon, 7 May 2007 13:59:10 +0000 (13:59 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 7 May 2007 13:59:10 +0000 (13:59 +0000)
src/jalview/gui/AnnotationPanel.java

index c9fa597..86d5c6d 100755 (executable)
@@ -721,7 +721,7 @@ public class AnnotationPanel
 \r
         if (row.hasText)\r
         {\r
-          iconOffset = av.charHeight / 2 + 4;\r
+          iconOffset =av.charHeight -fm.getDescent();\r
           y -= av.charHeight;\r
         }\r
       }\r