Skip to content

Commit

Permalink
Add a space after "Left to select:" in placement dialog. (#11828)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 27, 2023
1 parent cafb104 commit ac9d4de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private void updateLeft() {
final int maxForThis = current + newMax;
entry.setMax(maxForThis);
}
leftToSelect.setText("Left to select:" + newMax);
leftToSelect.setText("Left to select: " + newMax);
textFieldPurelyForListening.setValue(0);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void updateLeft() {
entry.getSecond().setMaxAndUpdate(maxForThis);
}
}
leftToSelect.setText("Left to select:" + newMax);
leftToSelect.setText("Left to select: " + newMax);
}

protected int getSelectedCount() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,10 @@ private void updateLeft() {
return;
}
final int selected = getSelectedCount();
leftToSelect.setText("Left to select:" + (total - selected));
for (final ChooserEntry entry : entries) {
entry.setLeftToSelect(total - selected);
}
leftToSelect.setText("Left to select:" + (total - selected));
leftToSelect.setText("Left to select: " + (total - selected));
}

private void checkMatches() {
Expand Down

0 comments on commit ac9d4de

Please sign in to comment.