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 is small and blurry even at larger UI scale #503

Open
holocronweaver opened this issue Nov 9, 2024 · 4 comments
Open

Font is small and blurry even at larger UI scale #503

holocronweaver opened this issue Nov 9, 2024 · 4 comments
Labels

Comments

@holocronweaver
Copy link

I'm using a 4k display, and even with the UI scale set to max (Settings -> Experimental -> UI Scaling -> Larger) the font is small and blurry:

Screenshot from $(date +'%Y-%m-%d %T')

(not sure how to best convey the blurriness in a screenshot)

version: 0.13.1 (flatpak)
system: Ubuntu 24.04.1

@holocronweaver
Copy link
Author

After a bit of research, looks like you can scale with a Fyne environment variable:

FYNE_SCALE=1.5 flatpak run io.github.dweymouth.supersonic

Possible to make this scale configurable from within the app?

@dweymouth
Copy link
Owner

The "UI scaling" setting in the dialog is actually setting the FYNE_SCALE environment variable for the app. I can add a "Huge" setting to the dialog, or I could change how it's stored in the config file to store the FYNE_SCALE value directly, instead of the small-medium-large stting, so it could be configured by advanced users in the config file. What do you think?

@holocronweaver
Copy link
Author

Storing the numeric scale value in the config makes sense.

Most OS display setting screens allow directly specifying a numeric scaling factor. Why not expose the setting in the UI, rather than only in a config file? I suspect many users will need to tweak it since there are so many display variations nowadays.

To start it could just be a numeric input text box. If you want to get fancy (and assuming Fyne has the needed widget), a discrete slider could be added that increments the text box by say 0.25. The slider could replace the current qualitative size labels, while still allowing the user to set an arbitrary value in the text box if they like. (Could add qualitative labels to the increments, but I think the raw numeric value in the text box is enough.)

I can try my hand at adding a numeric input text box if that sounds reasonable.

@dweymouth
Copy link
Owner

I had avoided adding a direct numeric text box to keep the user from entering a value too large or small and ending up with a non-functional window. But I suppose adding a numeric text field and just bounding the numeric value to say 50%-200% would be good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants