PyCharm window is too large and can't be resized below a certain area
I just installed PyCharm on a new laptop. One issue with this installation is the PyCharm window is too large and gets cut off at both the top and the bottom. I cannot resize the window anymore because it is apparently already at the smallest allowed size.

I'm able to see the full window by changing the scale to 100% in my computer's display settings. However, this makes everything else very small and hard to read.
Some sources say I can reduce the zoom in the PyCharm settings, but this only makes the text smaller and has no effect on the window size.
Anyone got a solution?
Please sign in to leave a comment.
Hi Danny, would it help to add
-Dsun.java2d.uiScale.enabled=falsein Help | Edit Custom VM options? Please refer to this comment for details on these values.That unfortunately didn't work and actually made the UI even more weird. Thanks, though!
Danny, does it behave the same way in the latest 2025.2.3 release version?
Yes, it does.
Danny W, thanks for checking in 2025.2.3. Below are safe fixes to try:
- Remove the line
-Dsun.java2d.uiScale.enabled=falsein Help | Edit Custom VM options you tried earlier- Add one of these instead (try values until the window fits):
-Dsun.java2d.uiScale=1.00. If you still want slightly larger UI but to fit on screen, try:-Dsun.java2d.uiScale=1.10(decimals are allowed)- Save and restart PyCharm
That worked like a charm (no pun intended). Thanks for your help!