I tried Ctrl++, Ctrl+-, then pgAdmin4 v1.1 (on Windows 10 Pro x64) error. Then, I tried re-install, but error still exist:
How to fix this error?
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
pgAdmin.Settings.show()
This should pop up dialog: "Are you sure you want to reset the current layout? ..."
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:
pgAdmin.Settings.show()
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.
go to file option and select reset layout. https://www.pgadmin.org/docs/pgadmin4/dev/pgadmin_menu_bar.html
For the pgAdmin desktop app, I deleted the .pgadmin
(hidden) folder from my Home Directory on my Unix machine. Using the command:
rm -rf ~/.pgadmin
But be aware as it will delete all your saved connections too.
I just had this problem where none of the menus worked, so I couldn't use the reset option, but I was able to close pgadmin and open it again which gave me access to the file menu and reset layout.
rm -rf ~/.pgadmin
It's work. to reset layout for mac.