jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jmeter] branch master updated: Normalize vertical size for HTTP request path field
Date Sun, 15 Mar 2020 13:58:03 GMT
This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new fc9968e  Normalize vertical size for HTTP request path field
fc9968e is described below

commit fc9968eb3fa277c907ccb850912df72aa4bfe332
Author: Vladimir Sitnikov <>
AuthorDate: Sun Mar 15 16:57:26 2020 +0300

    Normalize vertical size for HTTP request path field
    JLabeledChoice had vertical gap which caused combobox to consume more space,
    and it caused text fields to increase.
 src/jorphan/src/main/java/org/apache/jorphan/gui/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/jorphan/src/main/java/org/apache/jorphan/gui/ b/src/jorphan/src/main/java/org/apache/jorphan/gui/
index 9133a80..0dc92f1 100644
--- a/src/jorphan/src/main/java/org/apache/jorphan/gui/
+++ b/src/jorphan/src/main/java/org/apache/jorphan/gui/
@@ -17,6 +17,7 @@
 package org.apache.jorphan.gui;
+import java.awt.BorderLayout;
 import java.awt.Insets;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
@@ -136,6 +137,7 @@ public class JLabeledChoice extends JPanel implements JLabeledField {
      * Initialises all of the components on this panel.
     private void init() { // WARNING: called from ctor so must not be overridden (i.e. must
be private or final)
+        setLayout(new BorderLayout(5, 0));
         // Register the handler for focus listening. This handler will
         // only notify the registered when the text changes from when
         // the focus is gained to when it is lost.

View raw message