From a8f5d8345278d27ddf5325d3977e460b86b6275f Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Tue, 27 Apr 2010 20:56:50 +0000
Subject: [PATCH] Fixing several issues with the Control Panel, the QuickSetup, Core server and Replication. Also improves unit, functional tests. More specifically this commit resolves the following open issues: 4385 - NPE when using ExtensibleMatch filter without a matching rule 4521 - dynamic lookup in attribut selection when selecting the sort order attribut while defining VLV index 4531 - Control Panel creates virtual static groups using groupOfURLs as objectclass 4533 - NullPointerException when configuring replication between 2 OpenDS 4539 - DSML Gateway - jaxb.properties Exception

---
 opends/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java
index 8d14e7e..67ef7eb 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java
@@ -157,14 +157,14 @@
     int importInsetsTop = Math.abs(
         bImport.getPreferredSize().height -
         l.getPreferredSize().height) / 2;
-    gbc.insets.top = importInsetsTop;
+    gbc.insets.top = importInsetsTop + UIFactory.TOP_INSET_SECONDARY_FIELD;
     panel.add(l, gbc);
     gbc.gridx ++;
     gbc.insets.left = UIFactory.LEFT_INSET_PRIMARY_FIELD;
     gbc.weightx = 0.5;
     panel.add(lImport, gbc);
     gbc.gridx ++;
-    gbc.insets.top = 0;
+    gbc.insets.top = UIFactory.TOP_INSET_SECONDARY_FIELD;
     gbc.weightx = 0.0;
     panel.add(bImport, gbc);
     gbc.gridx ++;

--
Gitblit v1.10.0