From f52c5fcbf55e2c489539fcea7ca3b9ab0b47c453 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 10 Feb 2015 17:11:11 +0000 Subject: [PATCH] note about preserving/reinstating custom grid geometry for alignment (JAL-470) and for cDNA/protein JAL-845 --- src/jalview/gui/Jalview2XML.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index d720cc2..7bac591 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -3666,6 +3666,8 @@ public class Jalview2XML af.viewport.setRightAlignIds(view.getRightAlignIds()); af.viewport.setFont(new java.awt.Font(view.getFontName(), view .getFontStyle(), view.getFontSize())); + // TODO: allow custom charWidth/Heights to be restored by updating them + // after setting font af.viewport.setRenderGaps(view.getRenderGaps()); af.viewport.setWrapAlignment(view.getWrapAlignment()); af.viewport.setShowAnnotation(view.getShowAnnotation()); -- 1.7.10.2