Python Forum
[PyGame] How to get the size of resizable window?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] How to get the size of resizable window?
#1
I want to center things in a resizable window.

.get_rect() and pygame.display.get_surface().get_size() both always return the size of a maximized window. What else might work?

Thanks
Reply


Messages In This Thread
How to get the size of resizable window? - by michael1789 - Feb-21-2021, 02:28 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020