From 9968051261c61d6b18c92d353e27b42960808238 Mon Sep 17 00:00:00 2001 From: Andrew Charneski Date: Thu, 21 Dec 2023 22:27:16 -0500 Subject: [PATCH] Update ActionTable.kt --- .../com/github/simiacryptus/aicoder/config/ActionTable.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/github/simiacryptus/aicoder/config/ActionTable.kt b/src/main/kotlin/com/github/simiacryptus/aicoder/config/ActionTable.kt index 93efc148..3108a3b4 100644 --- a/src/main/kotlin/com/github/simiacryptus/aicoder/config/ActionTable.kt +++ b/src/main/kotlin/com/github/simiacryptus/aicoder/config/ActionTable.kt @@ -101,14 +101,14 @@ class ActionTable( val panel = JPanel(VerticalFlowLayout(VerticalFlowLayout.TOP)) val classnameField = JTextField(100) classnameField.text = dataModel.getValueAt(selectedRowIndex, 2).toString() - panel.add(with(JPanel(HorizontalLayout(2))) { + panel.add(with(JPanel(HorizontalLayout(2, 0))) { add(JLabel("New class name:")) add(classnameField) this }) val displayField = JTextField(100) displayField.text = dataModel.getValueAt(selectedRowIndex, 1).toString() - panel.add(with(JPanel(HorizontalLayout(2))) { + panel.add(with(JPanel(HorizontalLayout(2,0))) { add(JLabel("New description:")) add(displayField) this