git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e94aa
)
JAL-1340 ensure slider value wide enough to see three figures
author
Jim Procter
<jprocter@dundee.ac.uk>
Mon, 28 Apr 2014 12:28:17 +0000
(13:28 +0100)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Mon, 28 Apr 2014 12:28:17 +0000
(13:28 +0100)
src/jalview/appletgui/SliderPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/SliderPanel.java
b/src/jalview/appletgui/SliderPanel.java
index
340bb64
..
bda4489
100644
(file)
--- a/
src/jalview/appletgui/SliderPanel.java
+++ b/
src/jalview/appletgui/SliderPanel.java
@@
-315,8
+315,9
@@
public class SliderPanel extends Panel implements ActionListener,
slider.setFont(new java.awt.Font("Verdana", 0, 11));
slider.setOrientation(0);
valueField.setFont(new java.awt.Font("Verdana", 0, 11));
- valueField.setText(" ");
- valueField.addActionListener(this);
+ valueField.setText(" ");
+ valueField.addActionListener(this);
+ valueField.setColumns(3);
label.setFont(new java.awt.Font("Verdana", 0, 11));
label.setText(MessageManager.getString("label.set_this_label_text"));
jPanel1.setLayout(borderLayout1);