Rather than letting the value determine the text field size, use a
fixed number of columns for easier editing. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2784 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -448,7 +448,7 @@ public class RuntimeAdjust
|
|||||||
|
|
||||||
@Override protected void populateEditor (JPanel editor)
|
@Override protected void populateEditor (JPanel editor)
|
||||||
{
|
{
|
||||||
editor.add(_valbox = new JTextField(), GroupLayout.FIXED);
|
editor.add(_valbox = new JTextField(6), GroupLayout.FIXED);
|
||||||
_valbox.addFocusListener(this);
|
_valbox.addFocusListener(this);
|
||||||
_valbox.addActionListener(this);
|
_valbox.addActionListener(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user