JAL-3377 include seq-annotation spacing in getWrappedHeight()
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index 92b9a50..b6cf419 100644 (file)
@@ -1438,6 +1438,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
     int annotationHeight = 0;
     if (av.isShowAnnotation())
     {
+      hgap += SeqCanvas.SEQS_ANNOTATION_GAP;
       annotationHeight = getAnnotationPanel().adjustPanelHeight();
     }