From f932cb5bb08dce9d7441c788d6996efaef53d15a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 14 Sep 2005 11:52:23 +0000 Subject: [PATCH] Resize for mac --- src/jalview/jbgui/GPreferences.java | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/jalview/jbgui/GPreferences.java b/src/jalview/jbgui/GPreferences.java index 8c3f937..50c4cf5 100755 --- a/src/jalview/jbgui/GPreferences.java +++ b/src/jalview/jbgui/GPreferences.java @@ -176,7 +176,7 @@ public class GPreferences extends JPanel gapLabel.setHorizontalAlignment(SwingConstants.RIGHT); gapLabel.setText("Gap Symbol "); colour.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - colour.setBounds(new Rectangle(147, 189, 154, 21)); + colour.setBounds(new Rectangle(148, 171, 154, 21)); colourLabel.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); colourLabel.setHorizontalAlignment(SwingConstants.RIGHT); colourLabel.setText("Colour "); @@ -184,20 +184,20 @@ public class GPreferences extends JPanel fontLabel.setHorizontalAlignment(SwingConstants.RIGHT); fontLabel.setText("Font "); fontSizeCB.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - fontSizeCB.setBounds(new Rectangle(316, 124, 49, 21)); + fontSizeCB.setBounds(new Rectangle(317, 111, 49, 21)); fontStyleCB.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - fontStyleCB.setBounds(new Rectangle(364, 124, 70, 21)); + fontStyleCB.setBounds(new Rectangle(365, 111, 70, 21)); fontNameCB.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - fontNameCB.setBounds(new Rectangle(147, 124, 169, 21)); + fontNameCB.setBounds(new Rectangle(148, 111, 169, 21)); gapSymbolCB.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - gapSymbolCB.setBounds(new Rectangle(147, 156, 67, 21)); + gapSymbolCB.setBounds(new Rectangle(148, 141, 67, 21)); startupCheckbox.setText("Open file"); startupCheckbox.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); startupCheckbox.setHorizontalAlignment(SwingConstants.RIGHT); startupCheckbox.setHorizontalTextPosition(SwingConstants.LEFT); startupCheckbox.setSelected(true); startupFileTextfield.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - startupFileTextfield.setBounds(new Rectangle(147, 255, 302, 20)); + startupFileTextfield.setBounds(new Rectangle(148, 232, 302, 20)); startupFileTextfield.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) @@ -295,14 +295,14 @@ public class GPreferences extends JPanel jPanel1.setBorder(titledBorder1); jPanel1.setLayout(gridBagLayout1); sortby.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); - sortby.setBounds(new Rectangle(147, 222, 302, 21)); + sortby.setBounds(new Rectangle(148, 200, 302, 21)); sortLabel.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); sortLabel.setHorizontalAlignment(SwingConstants.RIGHT); sortLabel.setText("Sort by "); - jPanel2.setBounds(new Rectangle(7, 19, 138, 270)); + jPanel2.setBounds(new Rectangle(7, 17, 138, 242)); jPanel2.setLayout(gridLayout2); gridLayout2.setRows(8); - jPanel3.setBounds(new Rectangle(146, 53, 274, 26)); + jPanel3.setBounds(new Rectangle(147, 46, 274, 26)); exportTab.setLayout(null); epsLabel.setFont(new java.awt.Font("Verdana", Font.PLAIN, 11)); epsLabel.setHorizontalAlignment(SwingConstants.RIGHT); @@ -318,17 +318,17 @@ public class GPreferences extends JPanel jPanel2.add(colourLabel); jPanel2.add(sortLabel); jPanel2.add(startupCheckbox); - visualTab.add(fontNameCB); - visualTab.add(fontSizeCB); - visualTab.add(fontStyleCB); - visualTab.add(gapSymbolCB); - visualTab.add(colour); - visualTab.add(sortby); - visualTab.add(startupFileTextfield); visualTab.add(jPanel3); jPanel3.add(conservation); jPanel3.add(quality); jPanel3.add(identity); + visualTab.add(sortby); + visualTab.add(colour); + visualTab.add(startupFileTextfield); + visualTab.add(fontNameCB); + visualTab.add(fontSizeCB); + visualTab.add(fontStyleCB); + visualTab.add(gapSymbolCB); visualTab.add(jPanel2); linkPanel.add(editLinkButtons, BorderLayout.EAST); -- 1.7.10.2