ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1367351 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
Date Mon, 30 Jul 2012 22:50:45 GMT
Author: hibou
Date: Mon Jul 30 22:50:45 2012
New Revision: 1367351

URL: http://svn.apache.org/viewvc?rev=1367351&view=rev
Log:
Better position for the 'Project' button position

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java?rev=1367351&r1=1367350&r2=1367351&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
Mon Jul 30 22:50:45 2012
@@ -97,7 +97,8 @@ public class PathEditor extends Composit
         }
 
         browseWorkspace = new Button(buttons, SWT.NONE);
-        browseWorkspace.setLayoutData(new GridData(GridData.END, GridData.CENTER, !added,
false));
+        browseWorkspace.setLayoutData(new GridData(project == null ? GridData.END : GridData.CENTER,
GridData.CENTER,
+                !added && project == null, false));
         browseWorkspace.setText("Workspace...");
         browseWorkspace.addSelectionListener(new SelectionAdapter() {
             public void widgetSelected(SelectionEvent e) {



Mime
View raw message