directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1330287 - /directory/studio/trunk/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/widgets/BaseWidgetUtils.java
Date Wed, 25 Apr 2012 13:34:35 GMT
Author: pamarcelot
Date: Wed Apr 25 13:34:35 2012
New Revision: 1330287

URL: http://svn.apache.org/viewvc?rev=1330287&view=rev
Log:
Fixed unused 'span' parameter for method createButton(...).

Modified:
    directory/studio/trunk/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/widgets/BaseWidgetUtils.java

Modified: directory/studio/trunk/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/widgets/BaseWidgetUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/widgets/BaseWidgetUtils.java?rev=1330287&r1=1330286&r2=1330287&view=diff
==============================================================================
--- directory/studio/trunk/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/widgets/BaseWidgetUtils.java
(original)
+++ directory/studio/trunk/plugins/common.ui/src/main/java/org/apache/directory/studio/common/ui/widgets/BaseWidgetUtils.java
Wed Apr 25 13:34:35 2012
@@ -468,6 +468,7 @@ public class BaseWidgetUtils
         Button button = new Button( parent, SWT.PUSH );
         GridData gd = new GridData();
         gd.widthHint = Dialog.convertHorizontalDLUsToPixels( fontMetrics, IDialogConstants.BUTTON_WIDTH
);
+        gd.horizontalSpan = span;
         button.setLayoutData( gd );
         button.setText( text );
         return button;



Mime
View raw message