jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1796688 - /jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java
Date Mon, 29 May 2017 20:01:09 GMT
Author: pmouawad
Date: Mon May 29 20:01:09 2017
New Revision: 1796688

URL: http://svn.apache.org/viewvc?rev=1796688&view=rev
Log:
Bug 61131 - IfController and WhileController : Improve UX
Simplify code to avoid hack for headless mode
Bugzilla Id: 61131

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java?rev=1796688&r1=1796687&r2=1796688&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java Mon May 29
20:01:09 2017
@@ -141,8 +141,7 @@ public class WhileControllerGui extends
         conditionLabel.setLabelFor(theCondition);
         conditionPanel.add(JTextScrollPane.getInstance(theCondition), BorderLayout.CENTER);
         
-        conditionPanel.add(Box.createHorizontalStrut(conditionLabel.getPreferredSize().width
-                + theCondition.getPreferredSize().width), BorderLayout.NORTH);
+        conditionPanel.add(Box.createHorizontalGlue(), BorderLayout.NORTH);
 
         return conditionPanel;
     }



Mime
View raw message