lua editor scroll bar

This commit is contained in:
rusefi 2021-11-22 17:24:50 -05:00
parent b2ae7243dd
commit d5b91aaa94
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import java.net.URL;
import java.util.concurrent.atomic.AtomicReference;
public class rusEFIVersion {
public static final int CONSOLE_VERSION = 20211117;
public static final int CONSOLE_VERSION = 20211122;
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
public static long classBuildTimeMillis() {

View File

@ -47,7 +47,8 @@ public class TextEditor {
}
});
area.add(textArea, BorderLayout.CENTER);
JScrollPane textAreaScroll = new JScrollPane(textArea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
area.add(textAreaScroll, BorderLayout.CENTER);
JPanel bottomArea = new JPanel(new FlowLayout(FlowLayout.RIGHT));
area.add(bottomArea, BorderLayout.SOUTH);
bottomArea.add(sizeLabel);