jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1796687 - /jmeter/trunk/src/core/org/apache/jmeter/control/gui/IfControllerPanel.java
Date Mon, 29 May 2017 19:59:37 GMT
Author: pmouawad
Date: Mon May 29 19:59:37 2017
New Revision: 1796687

URL: http://svn.apache.org/viewvc?rev=1796687&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/IfControllerPanel.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/gui/IfControllerPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/gui/IfControllerPanel.java?rev=1796687&r1=1796686&r2=1796687&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/gui/IfControllerPanel.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/gui/IfControllerPanel.java Mon May 29
19:59:37 2017
@@ -180,8 +180,7 @@ public class IfControllerPanel extends A
         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);
 
         JPanel optionPanel = new JPanel();
 



Mime
View raw message