altosui: Rewrite info table to mix with scroll pane well. Fix startup size
[fw/altos] / ao-tools / altosui / AltosLanded.java
index 059dbb6dcf91ab2d50bbf5b8a027e8476e308a87..d34efe6dbcfb8f2a7540754809bcfb4df77e790c 100644 (file)
@@ -61,7 +61,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay {
                        layout.setConstraints(label, c);
                        add(label);
 
-                       value = new JTextField(17);
+                       value = new JTextField(Altos.text_width);
                        value.setFont(value_font);
                        value.setHorizontalAlignment(SwingConstants.RIGHT);
                        c.gridx = 1; c.gridy = y;