Skip to content

Commit

Permalink
[fix] expand the selection input size further
Browse files Browse the repository at this point in the history
  • Loading branch information
marmoure committed Nov 8, 2023
1 parent 6bf90f0 commit 1d304a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,10 @@ private void customLabels() {
if(this.teiCompleter.getConfiguration().getAutoCompletes().get(0).getDependent() != null) {
dependentJLabel.setText(this.teiCompleter.getConfiguration().getAutoCompletes().get(0).getDependent().getLabel() + ":");
dependentJTextField.setText(autoCompleteContext.getDependentValue());
}else {
} else {
dependentJLabel.setVisible(false);
dependentJTextField.setVisible(false);
selectionJTextField.setPreferredSize(new Dimension(80, selectionJTextField.getHeight()));
selectionJTextField.setPreferredSize(new Dimension(200, selectionJTextField.getHeight()));
}
selectionJLabel.setText(this.teiCompleter.getConfiguration().getAutoCompletes().get(0).getSelection().getLabel() + ":");
selectionJTextField.setText(autoCompleteContext.getSelectedValue());
Expand Down

0 comments on commit 1d304a0

Please sign in to comment.