Skip to content
Snippets Groups Projects
Commit fdcae453 authored by tjc's avatar tjc
Browse files

fix gene editor panel size

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6214 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent f82e6577
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/FeatureEdit.java,v 1.43 2007-07-11 08:51:36 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/FeatureEdit.java,v 1.44 2007-07-11 15:13:27 tjc Exp $
**/
package uk.ac.sanger.artemis.components;
......@@ -68,7 +68,7 @@ import javax.swing.*;
* FeatureEdit class
*
* @author Kim Rutherford
* @version $Id: FeatureEdit.java,v 1.43 2007-07-11 08:51:36 tjc Exp $
* @version $Id: FeatureEdit.java,v 1.44 2007-07-11 15:13:27 tjc Exp $
**/
public class FeatureEdit extends JPanel
implements EntryChangeListener, FeatureChangeListener
......@@ -967,10 +967,14 @@ public class FeatureEdit extends JPanel
if(c[i] instanceof JTabbedPane)
lower_panel.remove(c[i]);
}
JScrollPane jsp = new JScrollPane(
new GeneEditorPanel(qualifier_text_area, cvForm, matchForm, gffPanel));
jsp.setPreferredSize(
new Dimension(qualifier_text_area.getPreferredSize().width,
(int)(qualifier_text_area.getPreferredSize().height*1.5)));
// single panel containing annotation forms
lower_panel.add(new JScrollPane(
new GeneEditorPanel(qualifier_text_area, cvForm, matchForm, gffPanel)),
"Center");
lower_panel.add(jsp, "Center");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment