resetAllColourSchemes();\r
if(alignPanel.overviewPanel!=null)\r
alignPanel.overviewPanel.updateOverviewImage();\r
+\r
+ viewport.alignment.adjustSequenceAnnotations();\r
alignPanel.repaint();\r
}\r
\r
font.addActionListener(this);\r
scaleAbove.setLabel("Scale Above");\r
scaleAbove.setState(true);\r
+ scaleAbove.setEnabled(false);\r
scaleAbove.addItemListener(this);\r
scaleLeft.setEnabled(false);\r
scaleLeft.setState(true);\r
annotations,\r
0f, // cons.qualityRange[0].floatValue(),\r
11f, // cons.qualityRange[1].floatValue()\r
- AlignmentAnnotation.LINE_GRAPH);\r
+ AlignmentAnnotation.BAR_GRAPH);\r
if (showConservation)\r
{\r
alignment.addAnnotation(conservation);\r
qannotations,\r
cons.qualityRange[0].floatValue(),\r
cons.qualityRange[1].floatValue(),\r
- AlignmentAnnotation.LINE_GRAPH);\r
+ AlignmentAnnotation.BAR_GRAPH);\r
if (showQuality)\r
{\r
alignment.addAnnotation(quality);\r
if (consensus == null)\r
{\r
consensus = new AlignmentAnnotation("Consensus",\r
- "PID", annotations, 0f, 100f, AlignmentAnnotation.LINE_GRAPH);\r
+ "PID", annotations, 0f, 100f, AlignmentAnnotation.BAR_GRAPH);\r
if (showConsensus)\r
{\r
alignment.addAnnotation(consensus);\r
scalePanel.setSize(new Dimension(10, av.charHeight + fm.getDescent()));\r
idwidthAdjuster.setSize(new Dimension(10, av.charHeight + fm.getDescent()));\r
\r
- annotationPanel.adjustPanelHeight();\r
+ int ap = annotationPanel.adjustPanelHeight();\r
annotationPanel.repaint();\r
Dimension d = calculateIdWidth();\r
d.setSize(d.width + 4, seqPanel.seqCanvas.getSize().height);\r
+ alabels.setSize(d.width+4, ap );\r
idPanel.idCanvas.setSize(d);\r
hscrollFillerPanel.setSize(d);\r
\r