note about preserving/reinstating custom grid geometry for alignment (JAL-470) and...
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 10 Feb 2015 17:11:11 +0000 (17:11 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 10 Feb 2015 17:11:11 +0000 (17:11 +0000)
src/jalview/gui/Jalview2XML.java

index d720cc2..7bac591 100644 (file)
@@ -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());