From: Jim Procter Date: Mon, 28 Apr 2014 12:28:17 +0000 (+0100) Subject: JAL-1340 ensure slider value wide enough to see three figures X-Git-Tag: Jalview_2_9~191^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=02a2eeecb1ea2a4afc81249ce8edaf7843dec3f5;p=jalview.git JAL-1340 ensure slider value wide enough to see three figures --- diff --git a/src/jalview/appletgui/SliderPanel.java b/src/jalview/appletgui/SliderPanel.java index 340bb64..bda4489 100644 --- 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);