diff options
author | Keith Packard <keithp@keithp.com> | 2014-01-19 00:17:06 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-01-19 00:17:06 -0800 |
commit | 7f9cda0e2531a7bba7f1b4e3b7212a62b5bec1ed (patch) | |
tree | 01fb9a73ed9c9a92706abc1658b28fe25499d257 | |
parent | 2b891115c95453d9002d8ef307a27e14eda145a5 (diff) |
altosui: Make romconfig serial and radio cal fields 8 digits wide
This ensure that they are wide enough to show a cc1120 calibration
value, which is 7 digits.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosRomconfigUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosRomconfigUI.java b/altosui/AltosRomconfigUI.java index 694a4e0e..89994679 100644 --- a/altosui/AltosRomconfigUI.java +++ b/altosui/AltosRomconfigUI.java @@ -69,7 +69,7 @@ public class AltosRomconfigUI c.weightx = 1; c.anchor = GridBagConstraints.LINE_START; c.insets = ir; - serial_value = new JTextField("0"); + serial_value = new JTextField("00000000"); pane.add(serial_value, c); /* Radio calibration value */ @@ -91,7 +91,7 @@ public class AltosRomconfigUI c.anchor = GridBagConstraints.LINE_START; c.insets = ir; c.ipady = 5; - radio_calibration_value = new JTextField("0"); + radio_calibration_value = new JTextField("00000000"); pane.add(radio_calibration_value, c); /* Buttons */ |