4

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 5

4

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.

1
  • works!! as there are different +/- keymapping, this and only this menue entry fixes that issue! thx!
    – simUser
    Commented Oct 20, 2021 at 13:13
2

You can just use CTRL +/- to adjust font size, on the fly. It works fine for PGAdmin 4 v6.0.

2

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 -.

1
  • this port isn't fixed!
    – simUser
    Commented Jun 14, 2021 at 6:35
1

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/

0

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

source: https://wiki.archlinux.org/index.php/HiDPI#Qt_5

1
  • 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.
    – Algomorph
    Commented Dec 2, 2022 at 19:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .