directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r667530 - /directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java
Date Fri, 13 Jun 2008 13:32:49 GMT
Author: pamarcelot
Date: Fri Jun 13 06:32:49 2008
New Revision: 667530

URL: http://svn.apache.org/viewvc?rev=667530&view=rev
Log:
Fix for DIRSTUDIO-121 (Some propery pages make the dialog very tall).

Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java?rev=667530&r1=667529&r2=667530&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java
Fri Jun 13 06:32:49 2008
@@ -101,12 +101,21 @@
 
         BaseWidgetUtils.createLabel( infoGroupLeft, "Schema DN:", 1 );
         dnText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "", 1 );
+        GridData dnTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        dnTextGridData.widthHint = 300;
+        dnText.setLayoutData( dnTextGridData );
 
         BaseWidgetUtils.createLabel( infoGroupLeft, "Create Timestamp:", 1 );
         ctText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "", 1 );
+        GridData ctTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        ctTextGridData.widthHint = 300;
+        ctText.setLayoutData( ctTextGridData );
 
         BaseWidgetUtils.createLabel( infoGroupLeft, "Modify Timestamp:", 1 );
         mtText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "", 1 );
+        GridData mtTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        mtTextGridData.widthHint = 300;
+        mtText.setLayoutData( mtTextGridData );
 
         reloadSchemaButton = BaseWidgetUtils.createButton( infoComposite, "", 1 );
         GridData gd = new GridData();
@@ -129,12 +138,21 @@
 
         BaseWidgetUtils.createLabel( cacheComposite, "Cache Location:", 1 );
         cachePathText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "", 1 );
+        GridData cachePathTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        cachePathTextGridData.widthHint = 300;
+        cachePathText.setLayoutData( cachePathTextGridData );
 
         BaseWidgetUtils.createLabel( cacheComposite, "Cache Date:", 1 );
         cacheDateText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "", 1 );
+        GridData cacheDateTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        cacheDateTextGridData.widthHint = 300;
+        cacheDateText.setLayoutData( cacheDateTextGridData );
 
         BaseWidgetUtils.createLabel( cacheComposite, "Cache Size:", 1 );
         cacheSizeText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "", 1 );
+        GridData cacheSizeTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        cacheSizeTextGridData.widthHint = 300;
+        cacheSizeText.setLayoutData( cacheSizeTextGridData );
 
         IBrowserConnection connection = RootDSEPropertyPage.getConnection( getElement() );
         update( connection );



Mime
View raw message