-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow selecting font size #6822
Comments
We take the font size for your system, so it is the same size as all your other fonts. Adjust your system font size. Note, this may not work if you are using Linux and the snap build. |
I'm looking forward to this feature. Gnome's font size control has 2 settings and is entirely insufficient for accessibility purposes. |
After upgrading to 2.7.0 suddenly the font size is way smaller. So there was a regression introduced. I'm on Ubuntu 20.0.4 LTS. I have not touched my system font size in many months. I might downgrade the KeepPassXC version just so I can read the stuff on the 4k monitor. |
I assume you are using the snap. Welcome to the wonderful world of inconsistent Linux UX! You can use the Qt env vars to control your scaling: https://keepassxc.org/docs/KeePassXC_UserGuide.html#_command_line_options QT_SCREEN_SCALE_FACTORS |
@droidmonkey |
You can edit the app's |
Thanks for the info @michaelk83 |
Where does the "system font size" come from? I'm on Ubuntu, running regolith (essentially Gnome). After compiling keepassxc from source, the UI is fairly big. I tried the somewhere-offered strategy of configuring qt5 with qt5ct. Changing font sizes there does affect the font sizes in keepassxc, but still they are much larger in KeepassXC (started with QT_QPA_PLATFORMTHEME=qt5ct ./keepassxc) than in qt5ct (started with QT_QPA_PLATFORMTHEME=qt5ct qt5ct). Here's a picture of qt5ct and keepassxc running side by side, started from the same terminal with the exact same environment variables: |
Looks like you are using the AppImage, which doesn't use the system theme. Install the app via the PPA to get full integration. |
At least I was just building it from source and running it directly from the build/src directory. I assume that should use the system theme? |
If you have one configured, yes. |
Apparently it also does not work sufficiently on Windows 10 if users happens to use its Settings > System > Display > Scale and layouts > Change the size of text, apps, and other items > 150% Almost every program succumbs to this and acts very accordingly- i.e. makes all of its texts bigger. Unfortunately KeePassXC is somewhere between the category of user-friendly software for people with impaired vision and the group of programs suitable for the ant-people community In other words: I would like to be able to control the size of elements - most importantly text in boxes with passwords I have a 38" monitor with 21:9 aspect ratio [set to 150%] - and yet still have issues with readability in KeePassXC |
You can use the Qt environment variable: QT_SCALE_FACTOR and set it to 1.5. Sometimes Qt doesn't properly pickup the desktop scaling. I am planning to introduce font choice in 2.8.0 |
I don't necessarily want the font size in an app to match the system font size, which controls the OS's font UI font size. I also would very much like to not just change the fonts sizes in KeepassXC but also change the font themselves. For example, the font used to display the password should always use a monospace font that distinguishes between O and 0, I and l and 1 clearly. Yes, I'm aware of the "exclude lookalike characters". It's better to display them clearly than to eliminate them. A font selection would be a great benefit. |
I have to agree. Adjusting font sizes in Windows UI is not all that good to begin with. UIs vary, and where it looks all right in one place it looks too large in others when enlarged, and vice versa if left at default 100% scaling. I would much prefer granular control over both the size and the actual fonts used. I have an array of fonts available to me at any given time, and force usage of fonts for other apps, even my browser in some cases, completely independently of the OS. Hell, I even change default fonts on Terminal, CMD and Notepad. Having 52 year old eyes coupled with a 4K monitor kinda forces me to. |
Yes, adjusting OS's font is a straight way to Messy Town And that is why you set Windows 10 to Settings > Ease Of Access > Display > Make everything bigger > Change the size of apps and text on the main display > 150% and bigger fonts in text editors and also zoom in the view in Excel and such |
I also beg developers to raise priority for this feature request. With aging population it will become more and more requested. Even though on this ticket people asked about Windows and Ubuntu I think all platforms need this. I'm on macOS and I want to request this feature on macOS too. Meanwhile I found solution for macOS. Hope it may help others. You need to open your app with
If you need to make it system wide, go to your default shell, e.g. |
* Closes #6822 * Fix fixed font not following default font's point size
Summary
While I really like the new monospace font in notes I it would be really useful if I could customise the font size (cough for my old eyes :-) )
Examples
Context
The text was updated successfully, but these errors were encountered: