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;
}