From: amwaterhouse Date: Mon, 7 May 2007 13:59:56 +0000 (+0000) Subject: Image size must allow for scale height X-Git-Tag: Release_2_3~45 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=72fd374b346c9574295590316cba2e4afb99921a;p=jalview.git Image size must allow for scale height --- 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())