projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use value_font for values
[fw/altos]
/
ao-tools
/
altosui
/
AltosDescent.java
diff --git
a/ao-tools/altosui/AltosDescent.java
b/ao-tools/altosui/AltosDescent.java
index 0d3d17f040fa027b06169149b1097c04840d3edb..0b7c8036b29f098a2c51ed395de653d77ef8de48 100644
(file)
--- a/
ao-tools/altosui/AltosDescent.java
+++ b/
ao-tools/altosui/AltosDescent.java
@@
-58,8
+58,8
@@
public class AltosDescent extends JComponent implements AltosFlightDisplay {
layout.setConstraints(label, c);
add(label);
layout.setConstraints(label, c);
add(label);
- value = new JTextField(
2
0);
- value.setFont(
label
_font);
+ value = new JTextField(
3
0);
+ value.setFont(
value
_font);
value.setHorizontalAlignment(SwingConstants.RIGHT);
c.gridx = 1; c.gridy = y;
c.anchor = GridBagConstraints.WEST;
value.setHorizontalAlignment(SwingConstants.RIGHT);
c.gridx = 1; c.gridy = y;
c.anchor = GridBagConstraints.WEST;
@@
-196,7
+196,7
@@
public class AltosDescent extends JComponent implements AltosFlightDisplay {
layout = new GridBagLayout();
label_font = new Font("Dialog", Font.PLAIN, 24);
layout = new GridBagLayout();
label_font = new Font("Dialog", Font.PLAIN, 24);
- value_font = new Font("Monospace", Font.PLAIN, 24);
+ value_font = new Font("Monospace
d
", Font.PLAIN, 24);
setLayout(layout);
/* Elements in descent display */
setLayout(layout);
/* Elements in descent display */