jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1722736 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
Date Sun, 03 Jan 2016 17:50:15 GMT
Author: milamber
Date: Sun Jan  3 17:50:15 2016
New Revision: 1722736

URL: http://svn.apache.org/viewvc?rev=1722736&view=rev
Log:
Don't use a fixed height for the concurrent number box, use the current (ui system) height
Bugzilla Id: 58426

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java?rev=1722736&r1=1722735&r2=1722736&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.java
Sun Jan  3 17:50:15 2016
@@ -172,8 +172,8 @@ public class HttpDefaultsGui extends Abs
             }
         });
         concurrentPool = new JTextField(2); // 2 columns size
-        concurrentPool.setMinimumSize(new Dimension(10,20));
-        concurrentPool.setMaximumSize(new Dimension(30,20));
+        concurrentPool.setMinimumSize(new Dimension(10, (int) concurrentPool.getPreferredSize().getHeight()));
+        concurrentPool.setMaximumSize(new Dimension(30, (int) concurrentPool.getPreferredSize().getHeight()));
         embeddedRsrcPanel.add(concurrentDwn);
         embeddedRsrcPanel.add(concurrentPool);
         



Mime
View raw message