altosui: Adjust info table column width
authorKeith Packard <keithp@keithp.com>
Sat, 28 Dec 2013 18:16:24 +0000 (10:16 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 28 Dec 2013 18:16:24 +0000 (10:16 -0800)
Make sure the info table can show a full longitude value

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosInfoTable.java

index 7ba62d01d38573461d859d55bd6298a93a197c66..158b61f0bc8ab4f2e89f45075025258a9fc07e29 100644 (file)
@@ -46,9 +46,9 @@ public class AltosInfoTable extends JTable {
                        TableColumn column = getColumnModel().getColumn(i);
 
                        if ((i & 1) == 0)
                        TableColumn column = getColumnModel().getColumn(i);
 
                        if ((i & 1) == 0)
-                               column.setPreferredWidth(text_width(" Satellites Visible "));
+                               column.setPreferredWidth(text_width(" Satellites Visible"));
                        else
                        else
-                               column.setPreferredWidth(text_width(" 179°59.99999' "));
+                               column.setPreferredWidth(text_width("W 179°59.99999' "));
                }
        }
 
                }
        }