Author: rmeggins
Update of /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv
In directory
cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21095/directoryconsole/src/com/netscape/admin/dirserv
Modified Files:
DSContentPage.java
Log Message:
Resolves: bug 249120
Bug Description: fds104 jre15sun empty subtree pw policy window
Reviewed by: nkinder (Thanks!)
Fix Description: The culprit was flexible but evil GridBagLayout. Changing the layout in
the dialog window to BorderLayout solved the problem. Now, the window comes up with the
panels flush with the edges of the dialog window. Resizing the box too small results in h
and v scroll bars.
pwp dialog at startup -
https://bugzilla.redhat.com/attachment.cgi?id=326684
pwp dialog made too small -
https://bugzilla.redhat.com/attachment.cgi?id=326685
Platforms tested: RHEL5
Flag Day: no
Doc impact: no
Index: DSContentPage.java
===================================================================
RCS file:
/cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/DSContentPage.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DSContentPage.java 2 Aug 2007 16:35:32 -0000 1.4
+++ DSContentPage.java 11 Dec 2008 22:58:46 -0000 1.5
@@ -2044,7 +2044,7 @@
String dn = Helper.getNodeInfoDN(node);
if ( dn != null) {
BlankPanel child = new BlankPanel(_resourceModel);
- child.setLayout(new GridBagLayout());
+ child.setLayout(new BorderLayout());
PasswordPolicyTabbedDialog tabchild =
new PasswordPolicyTabbedDialog(_resourceModel, dn, type);