int annotationHeight = 0;
+ final int charHeight = alignViewport.getCharHeight();
+ int hgap = charHeight;
+ if (alignViewport.getScaleAboveWrapped())
+ {
+ hgap += charHeight;
+ }
+
AnnotationLabels labels = null;
if (alignViewport.isShowAnnotation())
{
+ hgap += SeqCanvas.SEQS_ANNOTATION_GAP;
if (ap == null)
{
ap = new AnnotationPanel(alignViewport);
labels = new AnnotationLabels(alignViewport);
}
- final int charHeight = alignViewport.getCharHeight();
- int hgap = charHeight;
- if (alignViewport.getScaleAboveWrapped())
- {
- hgap += charHeight;
- }
-
/*
* height of alignment + gap + annotations (if shown)
*/