From 6f607a4783942f4b3e708acb894f67914d954ec2 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 13 Jun 2008 11:06:40 +0000
Subject: [PATCH] Fix for issue 3335 (Status panel password field not shown in french locale)
---
opends/src/guitools/org/opends/guitools/statuspanel/ui/LoginDialog.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/statuspanel/ui/LoginDialog.java b/opends/src/guitools/org/opends/guitools/statuspanel/ui/LoginDialog.java
index edc8fd8..771ca0a 100644
--- a/opends/src/guitools/org/opends/guitools/statuspanel/ui/LoginDialog.java
+++ b/opends/src/guitools/org/opends/guitools/statuspanel/ui/LoginDialog.java
@@ -248,13 +248,14 @@
tfPwd = UIFactory.makeJPasswordField(null,
INFO_LOGIN_PWD_TOOLTIP.get(),
UIFactory.PASSWORD_FIELD_SIZE, UIFactory.TextStyle.PASSWORD_FIELD);
+ gbc.weightx = 1.0;
p2.add(p3, gbc);
gbc.insets = UIFactory.getEmptyInsets();
- gbc.gridwidth = GridBagConstraints.RELATIVE;
- gbc.weightx = 0.0;
+ gbc.gridwidth = GridBagConstraints.REMAINDER;
+ gbc.weightx = 0.2;
p3.add(tfPwd, gbc);
gbc.gridwidth = GridBagConstraints.REMAINDER;
- gbc.weightx = 1.0;
+ gbc.weightx = 0.8;
p3.add(Box.createHorizontalGlue(), gbc);
--
Gitblit v1.10.0