From 77a17e4cb35b6232e8fab371bdd735e6f53bd7a1 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 19 Apr 2007 18:55:16 +0000
Subject: [PATCH] The following changes are targetted to extend the Graphical Setup and provide the possibility of configuring SSL and Start TLS.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/DataOptionsPanel.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/DataOptionsPanel.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/DataOptionsPanel.java
index 86143a0..9ef09ec 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/DataOptionsPanel.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/ui/DataOptionsPanel.java
@@ -187,9 +187,13 @@
gbc.gridwidth = GridBagConstraints.REMAINDER;
panel.add(auxPanel, gbc);
+ int h1 = getLabel(FieldName.DATA_OPTIONS).getPreferredSize().height;
+ int h2 = getRadioButton(DataOptions.Type.CREATE_BASE_ENTRY).
+ getPreferredSize().height;
+ int additionalInset = Math.abs(h2 - h1) / 2;
gbc.gridwidth = GridBagConstraints.RELATIVE;
gbc.weightx = 0.0;
- gbc.insets.top = UIFactory.TOP_INSET_PRIMARY_FIELD;
+ gbc.insets.top = UIFactory.TOP_INSET_PRIMARY_FIELD + additionalInset;
gbc.insets.left = 0;
gbc.anchor = GridBagConstraints.NORTHWEST;
panel.add(getLabel(FieldName.DATA_OPTIONS), gbc);
--
Gitblit v1.10.0