jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1793255 - in /jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java xdocs/changes.xml
Date Sun, 30 Apr 2017 10:00:13 GMT
Author: fschumacher
Date: Sun Apr 30 10:00:12 2017
New Revision: 1793255

URL: http://svn.apache.org/viewvc?rev=1793255&view=rev
Log:
HTTP Test Script Recorder: Port field is very small under some LAF

Bugzilla Id: 60995

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java?rev=1793255&r1=1793254&r2=1793255&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
Sun Apr 30 10:00:12 2017
@@ -708,6 +708,8 @@ public class ProxyControlGui extends Log
         portField = new JTextField(ProxyControl.DEFAULT_PORT_S, 20);
         portField.setName(PORTFIELD);
         portField.addKeyListener(this);
+        Dimension portPreferredSize = portField.getPreferredSize();
+        portField.setMinimumSize(new Dimension((int) Math.round(portPreferredSize.width*0.75),
portPreferredSize.height));
 
         JLabel label = new JLabel(JMeterUtils.getResString("port")); // $NON-NLS-1$
         label.setLabelFor(portField);

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1793255&r1=1793254&r2=1793255&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Sun Apr 30 10:00:12 2017
@@ -169,6 +169,7 @@ Summary
     <li><bug>61011</bug>Replace occurrences count is not correct (Path
and Host replacement are counted twice)</li>
     <li><bug>61026</bug>Cannot run program "keytool": CreateProcess error=2
when starting JMeter 3.2 in gui mode</li>
     <li><bug>61054</bug>Endless loop in JOrphanUtils#replaceAllWithRegex
when regex is contained in replacement</li>
+    <li><bug>60995</bug>HTTP Test Script Recorder: Port field is very small
under some LAF</li>
 </ul>
 
  <!--  =================== Thanks =================== -->



Mime
View raw message