From: gmungoc Date: Sun, 14 Jul 2019 19:52:31 +0000 (+0100) Subject: JAL-3364 white fill before writing X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b56f333d06624db6e1d763650418e9e5ed3adbcd;hp=17c7bf45411f86b56a22499a233cf0dc8ae3498e;p=jalview.git JAL-3364 white fill before writing --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index f2fdad3..3fad3de 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -1176,7 +1176,8 @@ public class AlignmentPanel extends GAlignmentPanel implements .getAlignPanel(); dim2 = comp.getAlignmentDimension(); } - final int graphicsHeight = dim1.height + dim2.height; + final int graphicsHeight = dim1.height + dim2.height + + borderBottomOffset; final int graphicsWidth = Math.max(dim1.width, dim2.width); jalview.util.ImageMaker im; @@ -1198,7 +1199,7 @@ public class AlignmentPanel extends GAlignmentPanel implements } im = new jalview.util.ImageMaker(this, type, imageAction, - graphicsWidth, graphicsHeight + borderBottomOffset, file, + graphicsWidth, graphicsHeight, file, imageTitle, alignFrame, pSessionId, headless); Graphics graphics = im.getGraphics(); if (graphics == null)