Skip to content

Commit

Permalink
Use monospaced font
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazfrancic committed Mar 4, 2025
1 parent 85934f9 commit a645b52
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions run_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,14 @@ def show_dialog(parent=None):

app = QApplication(sys.argv)

# Define a monospaced font
monospace_font = QFont("Courier New") # Common monospaced font
monospace_font.setStyleHint(QFont.StyleHint.Monospace) # Ensure it's monospaced
monospace_font.setPointSize(12) # Set font size

# Apply the font globally
app.setFont(monospace_font)

if args.open:
TournamentAction.load(args.open)
core = TournamentAction.ACTIONS[-1].after
Expand Down

0 comments on commit a645b52

Please sign in to comment.