From cf18277a9b27efd23b7e03632c69ef4e5a07a227 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 29 Jul 2019 11:20:44 +0100 Subject: [PATCH] JAL-3377 include seq-annotation spacing in getWrappedHeight() --- src/jalview/gui/AlignmentPanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 15bcfc1..97a0a4e 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -1515,6 +1515,7 @@ public class AlignmentPanel extends GAlignmentPanel implements int annotationHeight = 0; if (av.isShowAnnotation()) { + hgap += SeqCanvas.SEQS_ANNOTATION_GAP; annotationHeight = getAnnotationPanel().adjustPanelHeight(); } -- 1.7.10.2