X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FSequenceFetcher.java;fp=src%2Fjalview%2Fgui%2FSequenceFetcher.java;h=28d700276521c3eb55b2a3283c2b4f7e8b1320f8;hb=58f946af1280918a6f2893534e66104bc20a52c7;hp=75ff09cf8cce65d39ea39a47dbba9ffd9bff26e6;hpb=a358ceab461b61acbfd9f38dc595bea2e24e398f;p=jalview.git diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index 75ff09c..28d7002 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -48,7 +48,13 @@ public class SequenceFetcher throws Exception { this.setLayout(gridBagLayout1); + DefaultListCellRenderer dlcr = new DefaultListCellRenderer(); + dlcr.setHorizontalAlignment(DefaultListCellRenderer.CENTER); + database.setRenderer(dlcr); + database.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); + database.setMinimumSize(new Dimension(160, 21)); + database.setPreferredSize(new Dimension(160, 21)); jLabel1.setFont(new java.awt.Font("Verdana", Font.ITALIC, 11)); jLabel1.setText( "Separate multiple accession ids with semi colon \";\""); @@ -82,16 +88,16 @@ public class SequenceFetcher , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(7, 4, 0, 6), 77, 6)); - this.add(textfield, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0 - , GridBagConstraints.WEST, - GridBagConstraints.HORIZONTAL, - new Insets(0, 0, 0, 6), 221, 1)); this.add(jPanel1, new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0 , GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(7, -2, 7, 12), 241, -2)); + this.add(textfield, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0 + , GridBagConstraints.WEST, + GridBagConstraints.HORIZONTAL, + new Insets(0, 0, 0, 6), 200, 1)); this.add(database, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0 - , GridBagConstraints.CENTER, + , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 4, 0, 0), 1, 0)); }