From ba14f0bebce70fe92f931af0faa0255692b86d64 Mon Sep 17 00:00:00 2001
From: albilu <35330562+albilu@users.noreply.github.com>
Date: Sat, 16 Dec 2023 19:19:26 +0100
Subject: [PATCH] UX improvment
---
.../options/PythonLspServerConfigsPanel.form | 22 +++++++++----------
.../options/PythonLspServerConfigsPanel.java | 20 ++++++++---------
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.form b/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.form
index 9a18543..b08c0c3 100644
--- a/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.form
+++ b/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.form
@@ -32,7 +32,7 @@
-
+
@@ -62,20 +62,20 @@
-
-
-
+
+
+
-
+
-
+
-
+
@@ -93,8 +93,8 @@
-
-
+
+
@@ -178,11 +178,11 @@
-
+
-
+
diff --git a/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.java b/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.java
index 6cfb222..9d07609 100644
--- a/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.java
+++ b/src/main/java/org/netbeans/modules/python/options/PythonLspServerConfigsPanel.java
@@ -120,17 +120,17 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
lspPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(lspPanelLayout.createSequentialGroup()
.addContainerGap()
- .addGroup(lspPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
- .addComponent(lspServerLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 204, Short.MAX_VALUE)
- .addComponent(lspPythonVersionLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 204, Short.MAX_VALUE))
- .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGroup(lspPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(lspPythonVersionLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 245, Short.MAX_VALUE)
+ .addComponent(lspServerLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap())
.addGroup(lspPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(lspPanelLayout.createSequentialGroup()
.addContainerGap()
.addGroup(lspPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(lspServerCheckBox)
- .addComponent(lspScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE))
- .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .addComponent(lspScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
+ .addContainerGap()))
);
lspPanelLayout.setVerticalGroup(
lspPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
@@ -144,8 +144,8 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
.addGroup(lspPanelLayout.createSequentialGroup()
.addContainerGap()
.addComponent(lspServerCheckBox)
- .addGap(59, 59, 59)
- .addComponent(lspScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 330, Short.MAX_VALUE)
+ .addGap(56, 56, 56)
+ .addComponent(lspScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 333, Short.MAX_VALUE)
.addContainerGap()))
);
@@ -172,11 +172,11 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
);
lspSettingsPanelLayout.setVerticalGroup(
lspSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGap(0, 421, Short.MAX_VALUE)
+ .addGap(0, 424, Short.MAX_VALUE)
.addGroup(lspSettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(lspSettingsPanelLayout.createSequentialGroup()
.addContainerGap()
- .addComponent(lspSettingsScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 409, Short.MAX_VALUE)
+ .addComponent(lspSettingsScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 412, Short.MAX_VALUE)
.addContainerGap()))
);