Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main GUI Bottom Line Formatting Issues: Missing Space and Standardizing Colon Bolding #2921

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions MekHQ/src/mekhq/gui/CampaignGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -2274,20 +2274,17 @@ private void refreshFunds() {
if (getCampaign().getFinances().isInDebt()) {
inDebt = " <font color='red'>(in Debt)</font>";
}
String text = "<html><b>Funds:</b> "
+ funds.toAmountAndSymbolString()
+ inDebt
+ "</html>";
String text = "<html><b>Funds</b>: " + funds.toAmountAndSymbolString() + inDebt + "</html>";
lblFunds.setText(text);
}

private void refreshTempAstechs() {
String text = "<html><b>Temp Astechs:</b> " + getCampaign().getAstechPool() + "</html>";
String text = "<html><b>Temp Astechs</b>: " + getCampaign().getAstechPool() + "</html>";
lblTempAstechs.setText(text);
}

private void refreshTempMedics() {
String text = "<html><b>Temp Medics:</b> " + getCampaign().getMedicPool() + "</html>";
String text = "<html><b>Temp Medics</b>: " + getCampaign().getMedicPool() + "</html>";
lblTempMedics.setText(text);
}

Expand All @@ -2297,7 +2294,7 @@ private void refreshPartsAvailability() {
} else {
StringBuilder report = new StringBuilder();
int partsAvailability = getCampaign().findAtBPartsAvailabilityLevel(null, report);
lblPartsAvailabilityRating.setText("<html><b>Campaign Parts Availability</b>:" + partsAvailability + "</html>");
lblPartsAvailabilityRating.setText("<html><b>Campaign Parts Availability</b>: " + partsAvailability + "</html>");
}
}

Expand Down