How to increase font size in pgAdmin 4 on Windows

New version of pgAdmin 4 is based on QT5. When you install pgAdmin 4 on Windows computer with a high-density display you may see that letters are too small.

Solution is to send one parameter to QT engine. It will handle DPI in different way.

Open PowerShell and go to directory with pgAdmin. Then launch application with parameter:

You can persist the configuration by creating qt.conf. Start PowerShell as Administrator.

Click Windows Start menu and type: powershell. Then right-click and select the option: Run as Administrator.

Go to directory with pgAdmin and create the file:

Write there following content:

Save the file and start pgAdmin 4 and enjoy new font size.

Note: make sure that the file name is just qt.conf. Notepad could add .txt file extension when saving the file directly from Notepad.

10 Replies to “How to increase font size in pgAdmin 4 on Windows

  1. Thank you! This really worked… Initially i accidentally saved it with a .txt extension and it didn’t work. Once I realized my mistake and rebooted PGAdmin it worked like a charm.

  2. Please HELP!!

    Thank you for sharing this….I’m in the last step to get it done. When I was trying to save the notepad file in the folder:c:Program FilesPostgreSQL9.6pgAdmin 4bin, it gave me the message of “you don’t have permission to save file in this folder, contact admin to get the permission”. Is there any way to fix this issue? Thank you!

  3. Issue solved… I still can’t save to the above folder. So I save it to my desktop first and then move it to the designated folder. Just in case anyone has the same issues

  4. Hi Lily. It is necessary to start PowerShell or Notepad as Administrator. You can achieve this by clicking Windows Start menu and typing: notepad (or powershell). Then right-click and select the option: Run as Administrator. I’ll update the article with screenshot. Thank you for your feedback.

Comments are closed.