From 1a4d1801429d40ef5f709a10cfa3cdb949256dd3 Mon Sep 17 00:00:00 2001
From: tcarver <tjc>
Date: Thu, 15 Nov 2012 12:49:47 +0000
Subject: [PATCH] fix for displaying graphs

---
 uk/ac/sanger/artemis/components/MultiComparator.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/uk/ac/sanger/artemis/components/MultiComparator.java b/uk/ac/sanger/artemis/components/MultiComparator.java
index 3e6bc97e1..06a393fb8 100644
--- a/uk/ac/sanger/artemis/components/MultiComparator.java
+++ b/uk/ac/sanger/artemis/components/MultiComparator.java
@@ -273,7 +273,7 @@ public class MultiComparator extends JFrame
             getEntryGroupArray().length == 2)) 
       {
         // put graph above the sequence in this case
-        c.weighty = 1;
+        c.weighty = 0;
         getContentPane().add(base_plot_group_array[i], c);
         c.weighty = 1;
         bamPanel[i].setVisible(false);
@@ -289,7 +289,7 @@ public class MultiComparator extends JFrame
             getEntryGroupArray().length == 2) 
       {
         // put graph below the sequence in this case
-        c.weighty = 1;
+        c.weighty = 0;
         getContentPane().add(base_plot_group_array[i], c);
         c.weighty = 1;
         bamPanel[i].setVisible(false);
-- 
GitLab