From: amwaterhouse Date: Fri, 7 Apr 2006 12:57:17 +0000 (+0000) Subject: padGaps set in preferences X-Git-Tag: Release_2_08~37 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bacda2907d59bee4300af624cce7d78cfe3ab570;p=jalview.git padGaps set in preferences --- diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 15c10e7..3509217 100755 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -62,7 +62,7 @@ public class AlignViewport int charHeight; int charWidth; int wrappedWidth; - Font font = new Font("SansSerif", Font.PLAIN, 10); + Font font; AlignmentI alignment; ColumnSelection colSel = new ColumnSelection(); int threshold; @@ -138,6 +138,8 @@ public class AlignViewport autoCalculateConsensus = Cache.getDefault("AUTO_CALC_CONSENSUS", true); + padGaps = Cache.getDefault("PAD_GAPS", false); + String fontName = Cache.getDefault("FONT_NAME", "SansSerif"); String fontStyle = Cache.getDefault("FONT_STYLE", Font.PLAIN + "") ; String fontSize = Cache.getDefault("FONT_SIZE", "10");