From 8548008f4fbd321b445c7e69fbdffda26e21f457 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Sat, 16 Apr 2005 15:37:07 +0000 Subject: [PATCH] fix wrap alignment vscroll visible amount --- src/jalview/gui/AlignmentPanel.java | 1 + 1 file changed, 1 insertion(+) 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 { -- 1.7.10.2