directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r562164 - /directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/views/SearchView.java
Date Thu, 02 Aug 2007 16:16:50 GMT
Author: pamarcelot
Date: Thu Aug  2 09:16:49 2007
New Revision: 562164

URL: http://svn.apache.org/viewvc?view=rev&rev=562164
Log:
Fixed visual aspect of the SearchView.

Modified:
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/views/SearchView.java

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/views/SearchView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/views/SearchView.java?view=diff&rev=562164&r1=562163&r2=562164
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/views/SearchView.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/views/SearchView.java
Thu Aug  2 09:16:49 2007
@@ -124,6 +124,13 @@
         gridLayout.verticalSpacing = 0;
         searchFieldComposite.setLayout( gridLayout );
         searchFieldComposite.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false
) );
+        // This searchFieldCompositeSeparator is used to display correctly the searchFieldComposite,
+        // since an empty composite does not display well.
+        Label searchFieldCompositeSeparator = new Label( searchFieldComposite, SWT.SEPARATOR
| SWT.HORIZONTAL );
+        GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+        gridData.heightHint = 1;
+        searchFieldCompositeSeparator.setLayoutData( gridData );
+        searchFieldCompositeSeparator.setVisible( false );
 
         // Search Results Label
         Label searchResultsLabel = new Label( parent, SWT.NONE );



Mime
View raw message