directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1398249 - /directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
Date Mon, 15 Oct 2012 11:24:35 GMT
Author: pamarcelot
Date: Mon Oct 15 11:24:34 2012
New Revision: 1398249

URL: http://svn.apache.org/viewvc?rev=1398249&view=rev
Log:
Fixed the timezones combo viewer width size, which was taking too much space.

Modified:
    directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java

Modified: directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java?rev=1398249&r1=1398248&r2=1398249&view=diff
==============================================================================
--- directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
(original)
+++ directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/time/GeneralizedTimeValueDialog.java
Mon Oct 15 11:24:34 2012
@@ -352,7 +352,9 @@ public class GeneralizedTimeValueDialog 
 
         // Combo viewer
         timezoneComboViewer = new ComboViewer( parent );
-        timezoneComboViewer.getCombo().setLayoutData( new GridData( SWT.FILL, SWT.CENTER,
true, false ) );
+        GridData  timezoneGridData = new GridData( SWT.FILL, SWT.CENTER, true, false );
+        timezoneGridData.widthHint = 50;
+        timezoneComboViewer.getCombo().setLayoutData( timezoneGridData );
 
         // Adding ContentProvider, LabelProvider
         timezoneComboViewer.setContentProvider( new ArrayContentProvider() );



Mime
View raw message