Save Feature Rendering
[jalview.git] / src / jalview / gui / SequenceFetcher.java
index 75ff09c..28d7002 100755 (executable)
@@ -48,7 +48,13 @@ public class SequenceFetcher
       throws Exception\r
   {\r
     this.setLayout(gridBagLayout1);\r
+    DefaultListCellRenderer dlcr = new DefaultListCellRenderer();\r
+    dlcr.setHorizontalAlignment(DefaultListCellRenderer.CENTER);\r
+    database.setRenderer(dlcr);\r
+\r
     database.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11));\r
+    database.setMinimumSize(new Dimension(160, 21));\r
+    database.setPreferredSize(new Dimension(160, 21));\r
     jLabel1.setFont(new java.awt.Font("Verdana", Font.ITALIC, 11));\r
     jLabel1.setText(\r
         "Separate multiple accession ids with semi colon \";\"");\r
@@ -82,16 +88,16 @@ public class SequenceFetcher
                                              , GridBagConstraints.WEST,\r
                                              GridBagConstraints.NONE,\r
                                              new Insets(7, 4, 0, 6), 77, 6));\r
-    this.add(textfield, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0\r
-                                               , GridBagConstraints.WEST,\r
-                                               GridBagConstraints.HORIZONTAL,\r
-                                               new Insets(0, 0, 0, 6), 221, 1));\r
     this.add(jPanel1, new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0\r
                                              , GridBagConstraints.WEST,\r
                                              GridBagConstraints.BOTH,\r
                                              new Insets(7, -2, 7, 12), 241, -2));\r
+    this.add(textfield, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0\r
+                                               , GridBagConstraints.WEST,\r
+                                               GridBagConstraints.HORIZONTAL,\r
+                                               new Insets(0, 0, 0, 6), 200, 1));\r
     this.add(database, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0\r
-                                              , GridBagConstraints.CENTER,\r
+                                              , GridBagConstraints.WEST,\r
                                               GridBagConstraints.NONE,\r
                                               new Insets(0, 4, 0, 0), 1, 0));\r
   }\r