Skip to content

Commit

Permalink
minor gui scaling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SJuliez committed Oct 7, 2024
1 parent d3f3359 commit 72f167b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion megamek/src/megamek/client/ui/swing/MMToggleButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public MMToggleButton(String text) {
super();
setText(text);
// The standard UI font doesn't show unicode characters (on Win10)
setFont(new Font(MMConstants.FONT_DIALOG, Font.PLAIN, getFont().getSize()));
new FlatLafStyleBuilder().font(MMConstants.FONT_DIALOG).apply(this);
addActionListener(event -> setText(getText()));
}
Expand Down

0 comments on commit 72f167b

Please sign in to comment.