From f8b2365ed9c7ed69aeebcb59a2fad96af1876e80 Mon Sep 17 00:00:00 2001
From: Patrick Hammer <patham9@gmail.com>
Date: Tue, 9 Jul 2019 09:34:52 +0000
Subject: [PATCH] Update: RealCrossing: OperatorPanel stretched down.

---
 .../applications/crossing/OperatorPanel.form  | 20 ++++++++++---------
 .../applications/crossing/OperatorPanel.java  | 16 ++++++++-------
 2 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/src/main/java/org/opennars/applications/crossing/OperatorPanel.form b/src/main/java/org/opennars/applications/crossing/OperatorPanel.form
index 18b2cf9..512198a 100755
--- a/src/main/java/org/opennars/applications/crossing/OperatorPanel.form
+++ b/src/main/java/org/opennars/applications/crossing/OperatorPanel.form
@@ -112,17 +112,19 @@
               <EmptySpace max="-2" attributes="0"/>
               <Component id="jScrollPane5" min="-2" max="-2" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
-              <Group type="103" groupAlignment="3" attributes="0">
-                  <Component id="saveQANarButton" alignment="3" min="-2" max="-2" attributes="0"/>
-                  <Component id="stopSaveQANarButton" alignment="3" min="-2" max="-2" attributes="0"/>
-                  <Group type="103" alignment="3" groupAlignment="3" attributes="0">
+              <Group type="103" groupAlignment="0" attributes="0">
+                  <Group type="103" alignment="0" groupAlignment="3" attributes="0">
+                      <Component id="savePredictionNarButton" alignment="3" min="-2" max="-2" attributes="0"/>
+                      <Component id="stopSavePredictionNarButton" alignment="3" min="-2" max="-2" attributes="0"/>
+                      <Component id="logOutputCheckBox" alignment="3" min="-2" max="-2" attributes="0"/>
+                  </Group>
+                  <Group type="103" groupAlignment="3" attributes="0">
                       <Component id="saveLocationNarButton" alignment="3" min="-2" max="-2" attributes="0"/>
                       <Component id="stopSaveLocationNarButton" alignment="3" min="-2" max="-2" attributes="0"/>
-                      <Group type="103" alignment="3" groupAlignment="3" attributes="0">
-                          <Component id="savePredictionNarButton" alignment="3" min="-2" max="-2" attributes="0"/>
-                          <Component id="stopSavePredictionNarButton" alignment="3" min="-2" max="-2" attributes="0"/>
-                          <Component id="logOutputCheckBox" alignment="3" min="-2" max="-2" attributes="0"/>
-                      </Group>
+                  </Group>
+                  <Group type="103" groupAlignment="3" attributes="0">
+                      <Component id="saveQANarButton" alignment="3" min="-2" max="-2" attributes="0"/>
+                      <Component id="stopSaveQANarButton" alignment="3" min="-2" max="-2" attributes="0"/>
                   </Group>
               </Group>
               <EmptySpace pref="23" max="32767" attributes="0"/>
diff --git a/src/main/java/org/opennars/applications/crossing/OperatorPanel.java b/src/main/java/org/opennars/applications/crossing/OperatorPanel.java
index d293e32..706b2bf 100755
--- a/src/main/java/org/opennars/applications/crossing/OperatorPanel.java
+++ b/src/main/java/org/opennars/applications/crossing/OperatorPanel.java
@@ -351,16 +351,18 @@ public class OperatorPanel extends javax.swing.JFrame {
                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
-                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
-                    .addComponent(saveQANarButton)
-                    .addComponent(stopSaveQANarButton)
-                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
-                        .addComponent(saveLocationNarButton)
-                        .addComponent(stopSaveLocationNarButton)
+                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                         .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                             .addComponent(savePredictionNarButton)
                             .addComponent(stopSavePredictionNarButton)
-                            .addComponent(logOutputCheckBox))))
+                            .addComponent(logOutputCheckBox))
+                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+                            .addComponent(saveLocationNarButton)
+                            .addComponent(stopSaveLocationNarButton)))
+                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+                        .addComponent(saveQANarButton)
+                        .addComponent(stopSaveQANarButton)))
                 .addContainerGap(23, Short.MAX_VALUE))
         );
 
-- 
GitLab