Skip to content

Commit

Permalink
Merge 828c6d2 into 29c58db
Browse files Browse the repository at this point in the history
  • Loading branch information
Windchild292 authored Dec 20, 2020
2 parents 29c58db + 828c6d2 commit 0ac59fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions MekHQ/src/mekhq/gui/model/PersonnelEventLogModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public class PersonnelEventLogModel extends DataTableModel {

public PersonnelEventLogModel() {
data = new ArrayList<LogEntry>();
dateTextWidth = getRenderer().metrics.stringWidth(MekHQ.getMekHQOptions()
.getDisplayFormattedDate(LocalDate.now())) + 10;
dateTextWidth = getRenderer().metrics.stringWidth(MekHQ.getMekHQOptions().getDisplayFormattedDate(LocalDate.now()).concat("MM"));
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/gui/model/PersonnelKillLogModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class PersonnelKillLogModel extends DataTableModel {
public PersonnelKillLogModel() {
resourceMap = ResourceBundle.getBundle("mekhq.resources.PersonnelKillLogModel", new EncodeControl());
data = new ArrayList<Kill>();
dateTextWidth = getRenderer().metrics.stringWidth(MekHQ.getMekHQOptions().getDisplayFormattedDate(LocalDate.now())) + 10;
dateTextWidth = getRenderer().metrics.stringWidth(MekHQ.getMekHQOptions().getDisplayFormattedDate(LocalDate.now()).concat("MM"));
}

@Override
Expand Down

0 comments on commit 0ac59fc

Please sign in to comment.