summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosAscent.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-20 14:31:23 -0800
committerKeith Packard <keithp@keithp.com>2010-11-20 14:31:23 -0800
commit37f0201d724693528f37ac7d275f68f90cf94da0 (patch)
tree0a5b64de3bef1cff49918f2a32c4b61f2d244b18 /ao-tools/altosui/AltosAscent.java
parentb47517d4c2e49f6f7b9954d2c85f96397fe1103e (diff)
altosui: change descent tab formatting to four columns
This places labels to the left of each field. For igniter voltages, it uses three columns for the labels. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosAscent.java')
-rw-r--r--ao-tools/altosui/AltosAscent.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/ao-tools/altosui/AltosAscent.java b/ao-tools/altosui/AltosAscent.java
index b1b812a1..2ceaa183 100644
--- a/ao-tools/altosui/AltosAscent.java
+++ b/ao-tools/altosui/AltosAscent.java
@@ -65,7 +65,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
layout.setConstraints(label, c);
add(label);
- value = new JTextField(15);
+ value = new JTextField(17);
value.setFont(Altos.value_font);
value.setHorizontalAlignment(SwingConstants.RIGHT);
c.gridx = 2; c.gridy = y;
@@ -102,7 +102,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
layout.setConstraints(label, c);
add(label);
- value = new JTextField(30);
+ value = new JTextField(17);
value.setFont(Altos.value_font);
value.setHorizontalAlignment(SwingConstants.RIGHT);
c.gridx = 2; c.gridy = y;
@@ -151,7 +151,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
layout.setConstraints(label, c);
add(label);
- value = new JTextField(15);
+ value = new JTextField(17);
value.setFont(Altos.value_font);
value.setHorizontalAlignment(SwingConstants.RIGHT);
c.gridx = 2; c.gridy = y;
@@ -161,7 +161,7 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
layout.setConstraints(value, c);
add(value);
- max_value = new JTextField(15);
+ max_value = new JTextField(17);
max_value.setFont(Altos.value_font);
max_value.setHorizontalAlignment(SwingConstants.RIGHT);
c.gridx = 3; c.gridy = y;