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

Font settings #300

Merged
merged 5 commits into from
Jul 10, 2024
Merged

Font settings #300

merged 5 commits into from
Jul 10, 2024

Conversation

boldar99
Copy link
Collaborator

@boldar99 boldar99 commented Jul 9, 2024

This PR enables setting the font size and family to be used across the application.

This is achieved mainly via QApplication.setFont(...), but some elements don't change with that, so those are set manually in update_font methods. Also, some previously hard-coded fonts were removed.

The current font size and family are accessible in zxlive.settings.display_setting.font: QFont, and users can update it in a new "Font" tab of the preferences window.

Closes #278

@RazinShaikh RazinShaikh linked an issue Jul 9, 2024 that may be closed by this pull request
@RazinShaikh
Copy link
Collaborator

The font size of the menu bar does not update on windows until the app is restarted

zxlive/settings.py Outdated Show resolved Hide resolved
@boldar99
Copy link
Collaborator Author

Fixed!

@boldar99 boldar99 merged commit 8c5e107 into master Jul 10, 2024
2 checks passed
@boldar99 boldar99 deleted the font-settings branch July 10, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase font size of the ZXLive UI?
2 participants