The font size can be changed for sql editor in preferences. Is there a way to change the font size of the browser tree in the left frame?
5 Answers
As of pgAdmin4 v5.1 there is a File > Runtime menu that allows you to zoom in and out, which will affect all fonts in pgAdmin.
-
works!! as there are different +/- keymapping, this and only this menue entry fixes that issue! thx!– simUserCommented Oct 20, 2021 at 13:13
You can just use CTRL +/- to adjust font size, on the fly. It works fine for PGAdmin 4 v6.0.
pgAdmin4 starts his own webserver accessible at http://127.0.0.1:34809/browser/
From there you can easily change font size with usual browser options as ctrl + and ctrl -.
Make a text file called 'qt.conf' with the following contents:
[Platforms]
WindowsArguments = dpiawareness=0
Then put this in your pgAdmin folder, e.g. C:\Program Files\PostgreSQL\10\pgAdmin 4\bin
and re-run pgAdmin.
Source: https://georgik.rocks/how-to-increase-font-size-in-pgadmin-4-on-windows/
On Linux you could use QT_SCALE_FACTOR
environment variable. And eventually QT_AUTO_SCREEN_SCALE_FACTOR
to adjust.
So the following command should work from console:
export QT_SCALE_FACTOR=1.5 ## or any number
pgadmin4
Else:
export QT_AUTO_SCREEN_SCALE_FACTOR=0 ## as boolean
export QT_SCALE_FACTOR=1.5 ## as float
pgadmin4
-
Neither one of these worked for me with Ubuntu 22.04 (running the traditional Xorg display server). What made a difference was enabling "Large Fonts" in system accessibility options. Commented Dec 2, 2022 at 19:29