From: gmungoc Date: Mon, 29 Jul 2019 10:20:44 +0000 (+0100) Subject: JAL-3377 include seq-annotation spacing in getWrappedHeight() X-Git-Tag: Release_2_11_1_0~28^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d72092ca867992d143d3cda8a0f7277877d448e0;p=jalview.git JAL-3377 include seq-annotation spacing in getWrappedHeight() --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 92b9a50..b6cf419 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -1438,6 +1438,7 @@ public class AlignmentPanel extends GAlignmentPanel implements int annotationHeight = 0; if (av.isShowAnnotation()) { + hgap += SeqCanvas.SEQS_ANNOTATION_GAP; annotationHeight = getAnnotationPanel().adjustPanelHeight(); }