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?

0
6 comments

Hi Danny, would it help to add -Dsun.java2d.uiScale.enabled=false in Help | Edit Custom VM options? Please refer to this comment for details on these values.

0

That unfortunately didn't work and actually made the UI even more weird. Thanks, though!

0

Danny W, thanks for checking in 2025.2.3. Below are safe fixes to try:

- Remove the line -Dsun.java2d.uiScale.enabled=false in 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

1

That worked like a charm (no pun intended). Thanks for your help!

0

Please sign in to leave a comment.