From 72fd374b346c9574295590316cba2e4afb99921a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 7 May 2007 13:59:56 +0000 Subject: [PATCH] Image size must allow for scale height --- src/jalview/gui/AlignmentPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index f6b56f9..b11838c 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -918,7 +918,8 @@ public class AlignmentPanel maxwidth = av.getColumnSelection().findColumnPosition(maxwidth); } - int height = ( (av.alignment.getHeight() + 1) * av.charHeight) + 30; + int height = ( (av.alignment.getHeight() + 1) * av.charHeight) + + scalePanel.getHeight(); int width = getVisibleIdWidth() + (maxwidth * av.charWidth); if (av.getWrapAlignment()) -- 1.7.10.2