You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by vl...@apache.org on 2020/03/15 13:58:03 UTC
[jmeter] branch master updated: Normalize vertical size for HTTP
request path field
This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
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 <si...@gmail.com>
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/JLabeledChoice.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/jorphan/src/main/java/org/apache/jorphan/gui/JLabeledChoice.java b/src/jorphan/src/main/java/org/apache/jorphan/gui/JLabeledChoice.java
index 9133a80..0dc92f1 100644
--- a/src/jorphan/src/main/java/org/apache/jorphan/gui/JLabeledChoice.java
+++ b/src/jorphan/src/main/java/org/apache/jorphan/gui/JLabeledChoice.java
@@ -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.