26
votes

I tried Ctrl++, Ctrl+-, then pgAdmin4 v1.1 (on Windows 10 Pro x64) error. Then, I tried re-install, but error still exist:

enter image description here

How to fix this error?

6

6 Answers

48
votes

RESET Layout :

1.The pgAdmin menu bar displays the following selections: File, Object, Tools, and Help.*

Use the File menu to access the following options:

File -> Reset Layout

OR

  1. Open the browser console and run following :-

pgAdmin.Settings.show()

This should pop up dialog: "Are you sure you want to reset the current layout? ..."

33
votes

I had this error too. The menu item "Reset Layout" was not visible. Actually NO menu item was visible, so I dug up the actual method that is triggered by the "Reset Layout".

To fix, do this:

  • Open the browser console
  • Paste this JavaScrips code: pgAdmin.Settings.show()
  • This should pop up dialog: "Are you sure you want to reset the current layout? ..."
2
votes

Zoom in: Ctrl + Shift + +

Zoom out: Ctrl + -

1
votes

Like a web-page, press Ctrl + 0 for reset zoom level.

0
votes

Neither of the mentioned methods worked for me to reset the pgAdmin layout. Finally, what helped, was to delete the ..\AppData\Roaming\pgAdmin\ directory and install again.