How to scale the UI? (High DPI / compatibility options and so on don't work)

Hello!
I’m trying to scale the UI up.
My monitor is 32 inch, and set to 3840 x 2160 with a 125% scaling factor.
This works well for most programs. In Blender, I’ve set the UI to 125% scale as well, which is a convenient options in the Preferences.

In Krita, this doesn’t seem to be possible. Is there some way around this? An add-on perhaps?

All the topics about this I’ve found (and trust me, I’ve used my best Google-Fu on this) suggest enabling HiDPI support, and/or fiddling with Compatibility options, neither of which has any effect.

The only thing I can do is change the Windows Display settings, but I don’t want to change it globally since it’s ideal now for the other apps I use. I’d have to change it and change it back each time I use Krita.

Any help with this would be hugely appreciated!

:slight_smile: Hello @BlenderSecrets, and welcome to the forum!

If you haven’t tried it yet, please try to increase the font size under ‘‘Settings’’ → ‘‘Configure Krita’’ → ‘‘General’’ in the tab ‘‘Window’’ after checking the option ‘‘Use custom interface font’’. This is how I solved this problem, with the same conditions (Windows, 32’’ monitor with 3840x2160 pixel, system scaling of 125%).

Michelist

1 Like

Thanks, that helps somewhat although it only changes some of the text, not all of it. Good to know that option exists.

1 Like

Make sure “Enable HiDPI support” and “Enable fractional scale factor” are enabled in Krita’s settings under Window (near the “Use custom interface font” setting). It sounds like you might’ve been looking at Window’s high DPI settings found in the application properties under Compatibility, which you probably won’t need to mess with.

To change the scale factor you could run Krita with the environment variable QT_SCALE_FACTOR set, it will be multiplied by the global scale factor.
So for instance, saving this as a .bat (Batch script) file

set QT_SCALE_FACTOR=1.2
start /d "C:\Program Files\Krita (x64)\bin" krita.exe

and running it would (after showing Command Prompt briefly) start Krita at 1.5x scale, if your global scale is 1.25 and your Krita is installed to that path.

If you then wanted to add it to the Start Menu, you could create a shortcut to the batch file, put it in %APPDATA%\Microsoft\Windows\Start Menu\Programs\, and use change icon to get the icon from krita.exe. Then you can run it pretty much the same as regular Krita’s shortcut.

1 Like

I don’t think I’ve messed with .BAT files for 20 years or so, and I think I’m gonna keep it that way :wink:

Thanks though, good to know that this is possible!

Funny that it’s so unnecessarily complicated. Anyway, I found that adjusting the icons (right-click on the tool panel, change the icon size) as well as changing the icon scale in the hamburger menu of the Brush presets menu along with changing the custom font scale gets me quite far. Good enough!

The upper hamburger-menu of the layers-docker, allows adjusting the tile size of the previews and the indentation of group-layers.

Michelist

You don’t have to use a batch file, you can set this in the system environment variables in Windows.

The reason why it’s so unnecessary complicated is that Krita is originally a Linux only software and (although I love Linux) some things are absolutely backwards.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.