diff options
| author | Keith Packard <keithp@keithp.com> | 2010-11-16 22:20:00 +0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-11-16 22:20:00 +0800 |
| commit | d0eb41619544ead6d9dab3a8d024a12936c9cdd0 (patch) | |
| tree | 4fb427d21515541adffe3a7c4edb6b03d534cf8e /ao-tools/altosui/Altos.java | |
| parent | fcca333cda64be35f0c9fb0109eef1be3709dddd (diff) | |
altosui: Cleanup flight UI layout
Use common constants for fonts and insets
Shrink fonts so that the window is < 600 pixels tall.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/Altos.java')
| -rw-r--r-- | ao-tools/altosui/Altos.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ao-tools/altosui/Altos.java b/ao-tools/altosui/Altos.java index 997550e0..197e98db 100644 --- a/ao-tools/altosui/Altos.java +++ b/ao-tools/altosui/Altos.java @@ -67,6 +67,12 @@ public class Altos { static boolean map_initialized = false; + static final int tab_elt_pad = 5; + + static final Font label_font = new Font("Dialog", Font.PLAIN, 22); + static final Font value_font = new Font("Monospaced", Font.PLAIN, 22); + static final Font status_font = new Font("SansSerif", Font.BOLD, 24); + static void initialize_map() { string_to_state.put("startup", ao_flight_startup); |
