From dfd2e986e22f9da230fcc0712c4cfbff654d6c6d Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Fri, 1 Dec 2006 05:38:41 +0000 Subject: [PATCH] * Remove strange default minimum size set in CTextField constructor * Fixed layout bug reported by jsSolution --- dbPort/src/org/compiere/db/CConnectionDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbPort/src/org/compiere/db/CConnectionDialog.java b/dbPort/src/org/compiere/db/CConnectionDialog.java index 23f3b41967..ad0eb30cdd 100644 --- a/dbPort/src/org/compiere/db/CConnectionDialog.java +++ b/dbPort/src/org/compiere/db/CConnectionDialog.java @@ -220,7 +220,7 @@ public class CConnectionDialog extends CDialog implements ActionListener ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 12, 5, 5), 0, 0)); centerPanel.add(dbUidField, new GridBagConstraints(1, 9, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 5, 0), 0, 0)); - centerPanel.add(dbPwdField, new GridBagConstraints(2, 9, 1, 1, 0.0, 0.0 + centerPanel.add(dbPwdField, new GridBagConstraints(2, 9, 1, 1, 1.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 12), 0, 0)); centerPanel.add(cbFirewall, new GridBagConstraints(1, 10, 2, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 12), 0, 0)); @@ -252,7 +252,7 @@ public class CConnectionDialog extends CDialog implements ActionListener bTestDB.addActionListener(this); bOK.addActionListener(this); bCancel.addActionListener(this); - + // Server if (!Ini.isClient()) {