projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1681c57
)
altosui: Make sure degree and minute values are visible (map preload)
author
Anthony Towns
<aj@erisian.com.au>
Sun, 17 Jul 2011 06:08:49 +0000
(23:08 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 17 Jul 2011 06:08:49 +0000
(23:08 -0700)
Set min size to preferred size so that the value remains visible
instead of snapping to 0 pixels wide.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosSiteMapPreload.java
patch
|
blob
|
history
diff --git
a/altosui/AltosSiteMapPreload.java
b/altosui/AltosSiteMapPreload.java
index c97f081c59d12eabe4b06fe5bd313ec57a2833a6..876c14acea93da2f38ef320362bd86f9ed2e943b 100644
(file)
--- a/
altosui/AltosSiteMapPreload.java
+++ b/
altosui/AltosSiteMapPreload.java
@@
-105,6
+105,8
@@
class AltosMapPos extends Box {
min = new JTextField("00.0000");
min_label = new JLabel("'");
set_value(default_value);
+ deg.setMinimumSize(deg.getPreferredSize());
+ min.setMinimumSize(min.getPreferredSize());
add(label);
add(Box.createRigidArea(new Dimension(5, 0)));
add(hemi);