raised maxlength limits

This commit is contained in:
Joseph Garcia 2020-12-30 14:30:46 -06:00
parent e6f364cddd
commit c1502cbfa0

View File

@ -37,14 +37,14 @@ public class ButtonGUI extends LightweightGuiDescription {
private void addCommandSection(WGridPanel root, WToggleButton toggle) {
// Add text field for command NAME entry
WTextField nameTextField = new WTextField();
nameTextField.setMaxLength(10);
nameTextField.setMaxLength(11);
nameTextField.setSuggestion("Name");
root.add(nameTextField, 0, 12, 6, 1);
// Add text field for command / entry
WTextField commandTextField = new WTextField();
commandTextField.setSuggestion("/command");
commandTextField.setMaxLength(100);
commandTextField.setMaxLength(300);
root.add(commandTextField, 6, 12, 11, 1);
// Add button for command entry