From: amwaterhouse Date: Sat, 16 Apr 2005 15:37:07 +0000 (+0000) Subject: fix wrap alignment vscroll visible amount X-Git-Tag: Release_2_0~399 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8548008f4fbd321b445c7e69fbdffda26e21f457;p=jalview.git fix wrap alignment vscroll visible amount --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 98eb180..9b57ae1 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -367,6 +367,7 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene int max = av.alignment.getWidth() / seqPanel.seqCanvas.getWrappedCanvasWidth(seqPanel.seqCanvas.getWidth()); vscroll.setMaximum(max); vscroll.setUnitIncrement(1); + vscroll.setVisibleAmount(1); } else {