directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1398744 - /directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
Date Tue, 16 Oct 2012 11:42:02 GMT
Author: pamarcelot
Date: Tue Oct 16 11:42:02 2012
New Revision: 1398744

URL: http://svn.apache.org/viewvc?rev=1398744&view=rev
Log:
Fix for DIRSTUDIO-835 (Display issues in the Password Editor on OS X)

Modified:
    directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java

Modified: directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java?rev=1398744&r1=1398743&r2=1398744&view=diff
==============================================================================
--- directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
(original)
+++ directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
Tue Oct 16 11:42:02 2012
@@ -259,10 +259,10 @@ public class PasswordDialog extends Dial
         composite.setLayoutData( gd );
 
         tabFolder = new TabFolder( composite, SWT.TOP );
-        GridLayout mainLayout = new GridLayout();
-        mainLayout.marginWidth = 0;
-        mainLayout.marginHeight = 0;
-        tabFolder.setLayout( mainLayout );
+//        GridLayout mainLayout = new GridLayout();
+//        mainLayout.marginWidth = 0;
+//        mainLayout.marginHeight = 0;
+//        tabFolder.setLayout( mainLayout );
         tabFolder.setLayoutData( new GridData( GridData.FILL_BOTH ) );
         tabFolder.addSelectionListener( new SelectionAdapter()
         {
@@ -282,6 +282,7 @@ public class PasswordDialog extends Dial
             currentLayout.verticalSpacing = convertVerticalDLUsToPixels( IDialogConstants.VERTICAL_SPACING
);
             currentLayout.horizontalSpacing = convertHorizontalDLUsToPixels( IDialogConstants.HORIZONTAL_SPACING
);
             currentPasswordContainer.setLayout( currentLayout );
+            currentPasswordContainer.setLayoutData( new GridData(SWT.FILL, SWT.FILL, true,
true) );
 
             BaseWidgetUtils.createLabel( currentPasswordContainer, Messages
                 .getString( "PasswordDialog.CurrentPassword" ) + ":", 1 ); //$NON-NLS-1$//$NON-NLS-2$



Mime
View raw message