JAL-2068 scale annotation display character to width for feature count annotation
authorJim Procter <jprocter@issues.jalview.org>
Mon, 18 Jul 2016 15:28:31 +0000 (16:28 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 18 Jul 2016 15:28:31 +0000 (16:28 +0100)
src/jalview/workers/ColumnCounterWorker.java

index 947b3c7..5f61525 100644 (file)
@@ -170,6 +170,7 @@ class ColumnCounterWorker extends AlignCalcWorker
     AlignmentAnnotation ann = new AlignmentAnnotation(counter.getName(),
             counter.getDescription(), anns);
     ann.showAllColLabels = true;
+    ann.scaleColLabel = true;
     ann.graph = AlignmentAnnotation.BAR_GRAPH;
     ourAnnots.add(ann);
     alignViewport.getAlignment().addAnnotation(ann);