draw graph label lower down
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 9c12b89..3332f08 100755 (executable)
@@ -193,9 +193,15 @@ public class AnnotationLabels extends JPanel implements MouseListener, MouseMoti
 \r
      x = getWidth() - fm.stringWidth(aa[i].label)-3;\r
 \r
+     if(aa[i].isGraph)\r
+       y+=(aa[i].height/3);\r
+\r
      g.drawString(aa[i].label, x, y);\r
 \r
-     y+=aa[i].height;\r
+     if(aa[i].isGraph)\r
+       y+=(2*aa[i].height/3);\r
+    else\r
+       y+=aa[i].height;\r
    }\r
 \r
    if (active)\r